Circle V2 API Docs
Preparing search index...
@repo/utils
math
roundToTenth
Function roundToTenth
roundToTenth
(
value
:
number
)
:
number
Rounds to one decimal place, half away from zero, without the binary drift of
toFixed
.
Parameters
value
:
number
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...
Rounds to one decimal place, half away from zero, without the binary drift of
toFixed.