diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | src/library.js | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -104,4 +104,5 @@ a license to everyone to use it as detailed in LICENSE.) * Daniel Aquino <mr.danielaquino@gmail.com> * Remi Papillie <remi.papillie@gmail.com> * Fraser Adams <fraser.adams@blueyonder.co.uk> +* Michael Tirado <icetooth333@gmail.com> diff --git a/src/library.js b/src/library.js index 875d8bab..2b183ea1 100644 --- a/src/library.js +++ b/src/library.js @@ -1745,7 +1745,7 @@ LibraryManager.library = { type == 'F' || type == 'E' || type == 'G') { var last = 0; next = get(); - while (next > 0) { + while ( next > 0 && (!(next in __scanString.whiteSpace)) ) { buffer.push(String.fromCharCode(next)); if (__isFloat(buffer.join(''))) { last = buffer.length; |