fixes #1391
This commit is contained in:
parent
d195f08da0
commit
6219ad6a66
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ proc nimFloatToStr(f: float): string {.compilerproc.} =
|
|||
if buf[i] == ',':
|
||||
buf[i] = '.'
|
||||
hasDot = true
|
||||
elif buf[i] in {'e', 'E', '.'}:
|
||||
elif buf[i] in {'a'..'z', 'A'..'Z', '.'}:
|
||||
hasDot = true
|
||||
if not hasDot:
|
||||
buf[n] = '.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue