@eternl/formats 0.3.0 → 0.4.0

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -111,7 +111,7 @@ Common options:
111
111
  maxDecimals?: number
112
112
  precision?: number // significant digits
113
113
  roundingMode?: 'roundDown' | 'roundHalfUp' | 'roundHalfEven' | 'roundUp'
114
- trimTrailingZeros?: boolean
114
+ trimTrailingZeros?: boolean (default: false)
115
115
  signDisplay?: 'auto' | 'always' | 'exceptZero' | 'never' | 'negative'
116
116
  useGrouping?: boolean
117
117
  isHidden?: boolean // mask digits with maskCharacter (default '*')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eternl/formats",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Locale-aware display and CSV formatting helpers for numeric data.",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",