update
This commit is contained in:
@@ -51,6 +51,6 @@ func TestCalc5(t *testing.T) {
|
||||
fmt.Printf(float)
|
||||
}
|
||||
func TestMath(t *testing.T) {
|
||||
i := int(float64(256) * (85 / 100.0) * 10)
|
||||
fmt.Println(i)
|
||||
var a = int(RoundToOneDecimalPlace(float64(150)*(95/100.0)) * 10)
|
||||
fmt.Println(a)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user