
4.7.8 The ValuePrinter structure
Shell.Options.ValuePrinter
val floatPrecision: int option
floatPrecision option is an integer determining the maximum number of significant digits printed for reals. The default value is 10.
floatPrecision to 4:
MLWorks> 1.23456789; val it : real = 1.23456789 MLWorks> set (floatPrecision, 4); val it : unit = () MLWorks> 1.23456789; val it : real = 1.235 MLWorks>

Generated with Harlequin WebMaker