[Seaside] Re: greaseString on ScaledDecimal
Philippe Marschall
philippe.marschall at gmail.com
Sun May 24 09:45:02 UTC 2015
On Sat, May 23, 2015 at 11:40 AM, Hilaire <hilaire at drgeo.eu> wrote:
> Le 23/05/2015 11:32, Hilaire a écrit :
>> Hello,
>>
>> -10.00s2 greaseString produce an unexpected 10.00, without the - sign.
>>
>> Hilaire
>>
>
> On Pharo 3.0, looks like this change is needed to get the sign:
>
> ScaledDecimal>>greaseString
> | converter |
> converter := GRSignPrinter new, (GRNumberPrinter new precision: self
> scale).
> ^ converter print: self
>
> The it works:
> -10.00s2 greaseString
> => '-10.00'
>
> In which repo should it be pushed?
http://smalltalkhub.com/#!/~Seaside/Seaside31
I don't know where you should report the issue
https://code.google.com/p/seaside/ redirects to
https://github.com/seasidest/googlecode-seaside-export.
Cheers
Philippe
More information about the seaside
mailing list