Testing Big against Number
toExponential
[ decimal places ]
toFixed
[ decimal places ]
toPrecision
[ significant digits ]
round
[ decimal places [ , rounding mode ] ]
sqrt
Round down
Rounds towards zero. I.e. truncate, no rounding
Round half up
Rounds towards nearest neighbour. If equidistant, rounds up
Round half even
Rounds towards nearest neighbour. If equidistant, rounds towards even neighbour
Decimal places:
Input:
Big:
Number: