Closed splace closed 5 years ago
This is because you define f as SFFloat which is internally really a float with a precision of 6-7 digits but JavaScript uses alway double precision numbers. If you access f in JavaScript the float value is converted to double which result in a number like 0.0010000000474974513 which is not 0.01 double.
Use SFDouble values if you need to compare the values.
Use SFDouble values if you need to compare the values.
this is from a broken world i found, not from me (as are virtually all my reports) their whole usefulness is to show when the browser is not behaving as older browsers did.
the standard requires this to work; because it specifies ISO/IEC 19775 ECMAScript, which is without typing, what seems to be happening is that you have used a more modern version of js (with typing) in a non backwardly-compatible manor.