Preparing search index...
The search index is not available
extra-number
extra-number
round
Function round
round
(
x
,
pre
?
)
:
number
Round a number to specific precision.
Parameters
x
:
number
a number
pre
:
number
= 1
to precision [1]
Returns
number
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
extra-
number
aliquot
Parts
clamp
from
Roman
greatest
Prime
Factor
hcf
least
Prime
Factor
map
mean
norm
root
Mean
Square
to
Roman
aliquot
Sum
arithmetic
Mean
binomial
ceil
ceil
Div
compare
constrain
cubic
Mean
degrees
factorial
floor
floor
Div
from
Roman
Numerals
gcd
geometric
Mean
harmonic
Mean
is
is
Pow
is
Prime
lcm
lerp
log
max
Prime
Factor
median
min
Prime
Factor
mod
modes
modp
multinomial
next
Pow
normalize
prev
Pow
prime
Exponentials
prime
Factors
product
proper
Divisors
quadriatic
Mean
radians
range
rem
remap
root
round
round
Div
significant
Digits
sum
to
Roman
Numerals
variance
Generated using
TypeDoc
Round a number to specific precision.