Every line of 'javascript bigdecimal' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
323 function BigDecimal(amount, locale) { 324 if (amount === void 0) { amount = 0; } 325 if (locale === void 0) { locale = 'en_US'; } 326 this.amount = amount; 327 this.locale = locale; 328 }
Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code
1040 toBigDecimal(): BigDecimal { 1041 assert(this.kind == ValueKind.BIGDECIMAL, 'Value is not a BigDecimal.') 1042 return changetype<BigDecimal>(this.data as u32) 1043 }