[Seaside] Number localisation
Sebastian Sastre
sebastian at flowingconcept.com
Sun Apr 24 00:12:31 UTC 2011
hum... yeah looks great in VW
Pharo?
On Apr 23, 2011, at 8:33 PM, Boris Popov, DeepCove Labs wrote:
> If you're using per-session locales, that API becomes much simpler too, but wouldn't illustrate the example as nicely.
>
> Sent from my iPhone
>
> On 2011-04-23, at 19:23, "Boris Popov, DeepCove Labs" <boris at deepcovelabs.com> wrote:
>
>> In VisualWorks,
>>
>>
>>
>> (Locale named: 'en') numberPolicy print: 1000.23 using: '#,##0.00' '1,000.23'
>>
>> (Locale named: 'fr') numberPolicy print: 1000.23 using: '#,##0.00' '1 000,23'
>>
>> (Locale named: 'es') numberPolicy print: 1000.23 using: '#,##0.00' '1.000,23'
>>
>>
>>
>> self: a NumberPrintPolicy
>>
>> decimalPoint: $, "16r002C"
>>
>> groupingSize: 3
>>
>> localeID: #es
>>
>> policy: nil
>>
>> thousandsSeparator: $. "16r002E"
>>
>>
>>
>> -Boris
>>
>>
>>
>> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Sebastian Sastre
>> Sent: 23 April 2011 19:15
>> To: Seaside - general discussion
>> Subject: [Seaside] Number localisation
>>
>>
>>
>> Hi guys,
>>
>>
>>
>> so... ideas to do number localisation?
>>
>>
>>
>> How do you guys deal with it?
>>
>>
>>
>> sebastian
>>
>>
>>
>> o/
>>
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110423/6b78aa1a/attachment.htm
More information about the seaside
mailing list