[Seaside] Re: greaseString on ScaledDecimal
Hilaire
hilaire at drgeo.eu
Sat May 23 09:40:11 UTC 2015
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?
Hilaire
--
Dr. Geo
http://drgeo.eu
http://google.com/+DrgeoEu
More information about the seaside
mailing list