@lykkex/lykke.js
Advanced tools
Comparing version 0.4.10 to 0.4.11
@@ -11,2 +11,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var safeMath_1 = require("../safeMath/safeMath"); | ||
exports.checkForTrailingZero = function (value) { | ||
@@ -31,2 +32,5 @@ var notFractional = value.search(/\.|,/) === -1; | ||
} | ||
else { | ||
value = safeMath_1.floor(value, accuracy); | ||
} | ||
var result = value.toLocaleString(undefined, options); | ||
@@ -33,0 +37,0 @@ return exports.checkForTrailingZero(result); |
{ | ||
"name": "@lykkex/lykke.js", | ||
"version": "0.4.10", | ||
"version": "0.4.11", | ||
"description": "A TypeScript/Javascript library surrounding Lykke services", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29137
410