Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/poolifier/src/utils.ts>round

Fast and small web worker pool
Latest
variable round
import { round } from "https://deno.land/x/poolifier@v0.3.14/src/utils.ts";

Rounds the given number to the given scale. The rounding is done using the "round half away from zero" method.

type

(num: number, scale?) => number