|
|
@@ -175,12 +175,12 @@ type MyWRPosition struct {
|
|
|
|
|
|
func (r *MyWRPosition) calc() {
|
|
|
if r.QTY != 0 {
|
|
|
- a := SFLOAT64(r.QTY / 100)
|
|
|
+ a := SFLOAT64(float64(r.QTY) / 100)
|
|
|
a.Round(2)
|
|
|
r.FTOTALQTY = a.Float64()
|
|
|
}
|
|
|
if r.FREEZERQTY != 0 {
|
|
|
- a := SFLOAT64(r.FREEZERQTY / 100)
|
|
|
+ a := SFLOAT64(float64(r.FREEZERQTY) / 100)
|
|
|
a.Round(2)
|
|
|
r.FFREEZEQTY = a.Float64()
|
|
|
}
|