Skip to content

Commit bcb01d5

Browse files
[autofix.ci] apply automated fixes
1 parent bdf1600 commit bcb01d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/read/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ export function readVnNumber(number: string | number | bigint): string {
127127
const group = groups[i]
128128
const positionFromRight = groupCount - 1 - i
129129
const isFirst = i === 0
130-
const isBeforeBillion = i + 1 < groupCount && (groupCount - 1 - (i + 1)) % 3 === 0
130+
const isBeforeBillion =
131+
i + 1 < groupCount && (groupCount - 1 - (i + 1)) % 3 === 0
131132

132133
// Determine unit position (cycles every 3 positions after tỷ)
133134
let unitIndex = positionFromRight % 3

0 commit comments

Comments
 (0)