parent
eaa1c3a377
commit
19263f2775
2 changed files with 7 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ proc formatDigits(buffer: var openArray[char]; pos: int; digits: uint32; decimal
|
|||
pos = digitsEnd
|
||||
elif decimalPoint < numDigits:
|
||||
## dig.its
|
||||
for i in 0..<8:
|
||||
for i in countdown(7, 0):
|
||||
buffer[i + decimalPoint + 1] = buffer[i + decimalPoint]
|
||||
buffer[pos+decimalPoint] = '.'
|
||||
pos = digitsEnd + 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue