Math.fround
fround — Returns the nearest single-precision floating-point format of a number.
Description
Math.fround(number number)
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
number | number | No |
Examples
Example #1 – fround example
fround — Returns the nearest single-precision floating-point format of a number.
Math.fround(number number)
Name | Description | Type | Default | Optional |
---|---|---|---|---|
number | number | No |