Skip to content

Commit 45ee11f

Browse files
refactor(num/format): to follow subject-first naming pattern
1 parent 684d114 commit 45ee11f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
let numberFormat: Intl.NumberFormat | undefined = undefined
22
let numberFormatLocale: string | undefined = undefined
33

4-
export function formatNumber(num: number, locale?: string) {
4+
export function numFormat(num: number, locale?: string) {
55
if (locale === numberFormatLocale && numberFormat) {
66
return numberFormat.format(num)
77
}

0 commit comments

Comments
 (0)