summary refs log tree commit diff stats
path: root/lib/system/sysstr.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system/sysstr.nim')
-rw-r--r--lib/system/sysstr.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/sysstr.nim b/lib/system/sysstr.nim
index b3dc9c14e..9db8ce378 100644
--- a/lib/system/sysstr.nim
+++ b/lib/system/sysstr.nim
@@ -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] = '.'