Integer
Module with operation on HUGEINT (64bit)
Procedures
Format
Format HUGEINT.
width : Total field with. Can overflow if number is bigger.
The alignment formatting flags are Left, Right & Center . The Zero flag fills with 0 of the formatting is right aligned. The Spc flag fills in a blank character for + if the number is positive. The Sign flag fills in a + character if the number is positive. If both Spc and Sign are given then Sign precedes.
PROCEDURE Format*(VAR Writer : Type.Stream; value : HUGEINT; width: LENGTH; flags: SET);
FromSubString
Convert string str to HUGEINT and with argument start position into str. If length is > 0 then the number of converted characters is expected to be length. If length is < 0 then the whole string is expected to be converted. If an overflow is detected FALSE is returned. Return TRUE if success.
PROCEDURE FromSubString* (VAR result : HUGEINT; str- : ARRAY OF CHAR; start : LENGTH ; length : LENGTH): BOOLEAN;
FromString
Convert string str to HUGEINT.
Return TRUE if success.
PROCEDURE FromString* (VAR result : HUGEINT; str- : ARRAY OF CHAR): BOOLEAN;