Updates:
Status: Fixed
Labels: Fixed-1.0-beta.8.5
Comment #3 on issue 28 by
[hidden email]: Need float to string method
that is common between Squeak and GemStone
http://code.google.com/p/glassdb/issues/detail?id=28For cross-platform printing, I think that Grease is probably the best
solution.
Starting with GLASS1.0-beta.8.5 I plan to include Grease in the base load,
since it is so useful for writing code to be portable between GemStone and
Pharo.
Your example in Grease would be done by the following:
| converter |
converter := GRNumberPrinter new precision: 3.
converter print: 3.234897234
and results in 3.235 on both GemStone and Pharo