@libs-ui/pipes-format-number 0.2.357-8 → 0.2.357-9
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/README.md +0 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -232,11 +232,3 @@ const noNegative = viewDataNumberByLanguage(-5000, false, 2);
|
|
|
232
232
|
⚠️ **Dùng trong TypeScript — không inject pipe**: Pipe là thin wrapper. Khi cần format trong `.ts` (service, computed, resolver), hãy import thẳng `viewDataNumberByLanguage` từ `@libs-ui/utils` thay vì inject `LibsUiPipesFormatNumberPipe`.
|
|
233
233
|
|
|
234
234
|
⚠️ **parseFixed và trailing zeros**: `parseFixed` là số chữ số thập phân tối đa, không phải cố định. Số `1234.5` với `parseFixed: 3` có thể cho ra `1.234,5` (không padding thêm `0`).
|
|
235
|
-
|
|
236
|
-
## Demo
|
|
237
|
-
|
|
238
|
-
```bash
|
|
239
|
-
npx nx serve core-ui
|
|
240
|
-
```
|
|
241
|
-
|
|
242
|
-
Truy cập: http://localhost:4500/pipes/format-number
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/pipes-format-number",
|
|
3
|
-
"version": "0.2.357-
|
|
3
|
+
"version": "0.2.357-9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": ">=18.0.0",
|
|
6
|
-
"@libs-ui/utils": "0.2.357-
|
|
6
|
+
"@libs-ui/utils": "0.2.357-9"
|
|
7
7
|
},
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"module": "fesm2022/libs-ui-pipes-format-number.mjs",
|