Commits

Sergey Astanin  committed 442b5b0

_afterpoint(): assume missing decimal point in exponential form

  • Participants
  • Parent commits d693d52

Comments (0)

Files changed (1)

     "Symbols after a decimal point."
     if _isnumber(string):
         pos = string.rfind(".")
+        pos = string.lower().rfind("e") if pos < 0 else pos
         if pos >= 0:
             return len(string) - pos - 1
         else: