You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's the golang float problem, you can try this code
` var a float64 = 0.05
var b float64 = 0.01
var c float64 = 0.06
fmt.Println("a + b ", a+b)
fmt.Println(" (a+b) > c ", (a+b) > c)
fmt.Println("(0.05+0.01) > 0.06 ", (0.05+0.01) > 0.06)`
Error: Not equal:
expected: false
actual : true
The text was updated successfully, but these errors were encountered: