import { round } from "https://deno.land/x/math@v1.1.0/round.ts";
Returns numeric whose value is the value of value
rounded using rounding mode rm
to a maximum of dp
decimal places
or if dp
is negative, rounded to an integer which is a multiple of 10**-dp.
Throws if dp
or rm
is invalid.
Parameters
value: BigSource