[Pharo-project] Decimal comma

John Toohey jt at parspro.com
Tue Feb 22 21:53:41 CET 2011

Without changing the OS locale, is there an easy was to have Pharo
recognize a comma as a decimal point, i.e. '2,13' asNumber -> 2,13. I
am receiving number from a Seaside app, in this format, and I need to
convert them before storing them in Postgres. Currently '2,12'
asNumber gives 2.


More information about the Pharo-project mailing list