UNPKG

supergeneric

Version:

Supergeneric JS helper functions... formatters, math functions, sort functions, etc.

2 lines (1 loc) 87 B
const t=(t,o=0)=>{const n=Math.pow(10,o);return Math.round(t*n)/n};export{t as round};