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
The function ParseFloat(str string, bitSize int) float {} from the Cast Library doesn't cast properly the string to a float number.
For example, instead of casting the string "42.42" to the float number 42.42, it casts to 42.41999816894531.
function testParseFloat() {
var str string = "42.42";
var x int = 64;
var y float = cast.parseFloat(str, x);
console.print(y);
}
testParseFloat();
Probably an error from the casting from GoType Float to EclaType Float.
The text was updated successfully, but these errors were encountered:
The function ParseFloat(str string, bitSize int) float {} from the Cast Library doesn't cast properly the string to a float number.
For example, instead of casting the string "42.42" to the float number 42.42, it casts to 42.41999816894531.
Probably an error from the casting from GoType Float to EclaType Float.
The text was updated successfully, but these errors were encountered: