Community
Participate
Working Groups
The W3C Tests are expecting float to return 7 decimal places before returning the exponent value. Also fload 0E0 should return 0 for compatibility. Use of DecimalFormat with the following pattern can be used to obtain the desired results: 0.#######E0
Also need to update the Zero comparison.
This has been fixed, also changed code to use Float methods for comparison of NaN and if the value returned is zero.