summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-07-22 20:15:57 +0200
committerAraq <rumpf_a@web.de>2014-07-22 20:15:57 +0200
commit6219ad6a66fc164a2dc27f9285590648d68bab3a (patch)
treed06511f042f4cb9179ec11cb37454bed0e6ed005
parentd195f08da0144b04d57f90715a371008ba063d6d (diff)
downloadNim-6219ad6a66fc164a2dc27f9285590648d68bab3a.tar.gz
fixes #1391
-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] = '.'