[pstricks] Less decimals than defined in axis
Christoph Bersch
usenet at bersch.net
Tue Aug 26 17:13:32 CEST 2008
Hi,
Juergen Gilg schrieb:
>
> Would
>
> 0.37 10 mul round 10 div
>
> deliver the wanted result?
Yes, this would round 0.37 to 0.4
You can test such Postscript code by yourself by invoking a Postscript
interpreter.
On my Linux system I have to invoke 'gs', then a command prompt appears,
where I can type in the code:
GS>0.37 10 mul round 10 div ==
and then hit 'return'. The '==' prints the result of the upper element
on the stack.
Christoph
More information about the PSTricks
mailing list