diff options
author | Araq <rumpf_a@web.de> | 2014-07-22 20:15:57 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-07-22 20:15:57 +0200 |
commit | 6219ad6a66fc164a2dc27f9285590648d68bab3a (patch) | |
tree | d06511f042f4cb9179ec11cb37454bed0e6ed005 | |
parent | d195f08da0144b04d57f90715a371008ba063d6d (diff) | |
download | Nim-6219ad6a66fc164a2dc27f9285590648d68bab3a.tar.gz |
fixes #1391
-rw-r--r-- | lib/system/sysstr.nim | 2 |
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] = '.' |