[sql mode] Don't consider '.e' a number

Closes #1489