halaman dipisah

This commit is contained in:
2025-07-21 10:14:27 +07:00
parent 8176411cfe
commit 6ef14a5112
28 changed files with 3103 additions and 231 deletions

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
export function format(data:number){
return new Intl.NumberFormat('id-ID',{
style:'currency',
currency:'IDR',
currencyDisplay: "code",
}).formatToParts(data)
.filter(x => x.type !== "currency")
.filter(x => x.type !== "literal" || x.value.trim().length !== 0)
.map(x => x.value)
.join("")
}