[metapost] MetaPost 1.750 (alpha version)

Troy Henderson thenders at gmail.com
Thu Jun 23 21:41:29 CEST 2011


Is there a built-in way with MetaPost 1.750 and with --math=double to
"round" a number by using only a certain number of significant digits?

For example, I'm getting an output of

7.999999999999998

which is "begging" to be 8.

Troy


More information about the metapost mailing list