@stamhoofd/utility 2.107.2 → 2.107.3

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.
@@ -350,7 +350,7 @@ class Formatter {
350
350
  return v;
351
351
  }
352
352
  static float(value) {
353
- const formatted = new Intl.NumberFormat('nl-BE', { maximumFractionDigits: 2 }).format(Math.abs(value));
353
+ const formatted = new Intl.NumberFormat('nl-BE', { maximumFractionDigits: 4 }).format(Math.abs(value));
354
354
  const v = (value < 0 ? '- ' : '') + formatted;
355
355
  return v;
356
356
  }
@@ -347,7 +347,7 @@ export class Formatter {
347
347
  return v;
348
348
  }
349
349
  static float(value) {
350
- const formatted = new Intl.NumberFormat('nl-BE', { maximumFractionDigits: 2 }).format(Math.abs(value));
350
+ const formatted = new Intl.NumberFormat('nl-BE', { maximumFractionDigits: 4 }).format(Math.abs(value));
351
351
  const v = (value < 0 ? '- ' : '') + formatted;
352
352
  return v;
353
353
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stamhoofd/utility",
3
- "version": "2.107.2",
3
+ "version": "2.107.3",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./esm/dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -19,5 +19,5 @@
19
19
  "publishConfig": {
20
20
  "access": "public"
21
21
  },
22
- "gitHead": "33deb06a0bac15cc46fe141bc3dcf1dafb6e82a1"
22
+ "gitHead": "2827f3e8dbc9046fe6f71b42c608cda407da3a2d"
23
23
  }