On Wed, Mar 29, 2017 at 7:59 PM, Sven Van Caekenberghe wrote:
> It is all a question of definition, I guess.
>
> (STON fromString: '2e2') = (STON fromString: '2E+2'). => true
>
> (STONJSON fromString: '2e2') = (STONJSON fromString: '2E+2'). => true
>
> (NeoNumberParser parse: '2e2') = (NeoNumberPa
It is all a question of definition, I guess.
(STON fromString: '2e2') = (STON fromString: '2E+2'). => true
(STONJSON fromString: '2e2') = (STONJSON fromString: '2E+2'). => true
(NeoNumberParser parse: '2e2') = (NeoNumberParser parse: '2E+2'). => true
I believe the 'old school' Smalltalk syntax
Hi,
Apperently the number parser cannot parse '2E+2' correctly, is this a bug or a
feature.
('2E+2' asNumber = '2e2' asNumber)
Is there any reason to why parsing numbers with uppercase exponent letter is
not allowed?
(see NumberParser >> #exponentLetters)
The parser has a method named #al