Well yes I was *thinking* of using curl and asking wolfram alpha... for example, but perhaps someone can do that task for me? Never enough time to do all this...
http://www.wolframalpha.com/input/?i=1E2 http://www.wolframalpha.com/input/?i=1.0e%2B2 http://www.wolframalpha.com/input/?i=1.0e-2 http://www.wolframalpha.com/input/?i=1E-2 On 2009-09-24, at 2:40 PM, [email protected] wrote: > Can we add some more (in the Pharo's spirit of getting at a better > Smalltalk): > > '1.0e+2' "now returns 1.0 although for simmetry should return 100.0" > > '1E2' "now returns 1, however a lot of applications (like > spreadsheets, Fortran printouts) when saving to text use the capital > letter for the exponential part". > > By the same reason: > > '1.0E2' > > '1E-2' > > '1E+2' > > > Em 24/09/2009 17:36, John M McIntosh < > [email protected] > escreveu: > > >> Ok, well I'm going to go away and build a test suite to check for all >> combos of >> '.' >> '1.' >> '1.2' >> '.e' >> '1.e' >> '1.2e' >> '1.2e3' >> '-1.e' >> '-1.2e-3' >> >> so we can at least agree on what a valid number is. >> >> >> On 2009-09-24, at 6:57 AM, Nicolas Cellier wrote: >>> SqNumberParser>>fail >>> failBlock isNil ifFalse: [^failBlock value]. >>> self error: 'Reading a number failed' >>> > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- = = = ======================================================================== John M. McIntosh <[email protected]> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
