MCPcopy
hub / github.com/moxiecode/plupload / round

Function round

js/plupload.dev.js:702–704  ·  view source on GitHub ↗
(num, precision)

Source from the content-addressed store, hash-verified

700 var self = this;
701
702 function round(num, precision) {
703 return Math.round(num * Math.pow(10, precision)) / Math.pow(10, precision);
704 }
705
706 size = parseInt(size, 10);
707 if (isNaN(size)) {

Callers 1

plupload.dev.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected