@ledvance/base 1.3.12 → 1.3.13

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/base",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.3.12",
7
+ "version": "1.3.13",
8
8
  "scripts": {
9
9
  "prepublishOnly": "python update-localazy.py"
10
10
  },
@@ -97,7 +97,7 @@ if (Platform.OS === 'ios') {
97
97
 
98
98
  // 德国数字格式化
99
99
  export const localeNumber = (v: number | string, fixed?: number, showGroup?: boolean) => {
100
- const mFixed = fixed || 2
100
+ const mFixed = fixed ?? 2
101
101
  const n = isNaN(Number(v)) ? 0 : Number(v)
102
102
  try {
103
103
  if (Platform.OS === 'android') return formatNumber(n, mFixed, showGroup)