This commit is contained in:
7
node_modules/licia/stripNum.js
generated
vendored
Normal file
7
node_modules/licia/stripNum.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
exports = function(num) {
|
||||
var precision =
|
||||
arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 12;
|
||||
return parseFloat(num.toPrecision(precision));
|
||||
};
|
||||
|
||||
module.exports = exports;
|
||||
Reference in New Issue
Block a user