Number.classPrototype.toFloatingPoint

Instance of

Function

Return value

/*Number*/

Description

Converts number to at least 8 bytes floating point number representation. Warning: after making a copy of this number it might convert to integer representation again.

Example

console.write(3.toFloatingPoint());

Expected output

3.000000