JavaScript Math.fround()
JavaScript Math.fround()
The Math.fround() method is used to return the nearest 32-bit float representation of a number.
Syntax:-
Its syntax is:- Math.fround(x)
Return:-
Its return is:- nearest 32-bit float representation of a number
Further Explanation:-
Parameter | Description |
---|---|
x | Required. A number. |