@dra2020/baseclient 1.0.139 → 1.0.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/baseclient.js +1 -2
- package/dist/baseclient.js.map +1 -1
- package/lib/detail/detail.ts +1 -2
- package/package.json +1 -1
package/dist/baseclient.js
CHANGED
|
@@ -1253,9 +1253,8 @@ function formatNumber(n, format) {
|
|
|
1253
1253
|
let parts = format.split('.');
|
|
1254
1254
|
let fmt = parts[0];
|
|
1255
1255
|
let precision = Number(parts[1] || '0');
|
|
1256
|
-
n = Util.precisionRound(n, precision);
|
|
1257
1256
|
// Only have implementation for 'locale'
|
|
1258
|
-
return n.toLocaleString();
|
|
1257
|
+
return n.toLocaleString(undefined, { maximumFractionDigits: precision, minimumFractionDigits: precision });
|
|
1259
1258
|
}
|
|
1260
1259
|
const DefaultDetailOptions = { numberFormat: 'locale.0' };
|
|
1261
1260
|
class Evaluator {
|