Commit 5844fffa by 杨树贤

精度

parent 1f77836c
Showing with 1 additions and 1 deletions
......@@ -661,7 +661,7 @@ func (ps *PriceService) TransformSpecialSupplierPrice(sku model.LySku, priceUs f
//fmt.Println(rmbRatio, usRatio)
//人民币汇率转美金汇率
usRatio = c.MyRound(c.DivFloat(rmbRatio, usRatio), 10)
usRatio = c.MyRound(c.DivFloat(rmbRatio, usRatio), 6)
priceUs = c.MyRound(c.MulFloat(priceUs, usRatio), 4)
}
return priceUs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment