gm2-libs-iso/ConvStringShort (The GNU Modula-2 Compiler) (original) (raw)
DEFINITION MODULE ConvStringShort ;
FROM DynamicStrings IMPORT String ;
(* RealToFloatString - converts a real with, sigFigs, into a string and returns the result as a string. *)
PROCEDURE RealToFloatString (real: SHORTREAL; sigFigs: CARDINAL) : String ;
(* RealToEngString - converts the value of real to floating-point string form, with sigFigs significant figures. The number is scaled with one to three digits in the whole number part and with an exponent that is a multiple of three. *)
PROCEDURE RealToEngString (real: SHORTREAL; sigFigs: CARDINAL) : String ;
(* RealToFixedString - returns the number of characters in the fixed-point string representation of real rounded to the given place relative to the decimal point. *)
PROCEDURE RealToFixedString (real: SHORTREAL; place: INTEGER) : String ;
END ConvStringShort.