-
Notifications
You must be signed in to change notification settings - Fork 1
typeconvmodule
#TypeConv
##Description This unit contains the predefined subprograms that convert between different Turing standard types. There are also six routines that are part of the language, rather than part of the unit, but are conceptually part of this unit.
All routines in the TypeConv unit are exported unqualified.
Description of the routines in the TypeConv module can be found in this chapter.
##Entry Points
typeconv_intreal.html Converts an integer to a real. typeconv_intstr.html* Converts an integer to a string. typeconv_natreal.html Converts a natural number to a real. typeconv_natstr.html* Converts a natural number to a string. typeconv_round.html Converts a real to an integer (rounding). typeconv_floor.html Converts a real to an integer (round down). typeconv_ceil.html Converts a real to an integer (round up). typeconv_realstr.html Converts a real to a string. typeconv_erealstr.html Converts a real to a string (exponential notation). typeconv_frealstr.html Converts a real to a string (no exponent). typeconv_strint.html* Converts a string to an integer. typeconv_strintok.html* Returns whether a string can legally be converted to an integer. typeconv_strnat.html* Converts a string to a natural number. typeconv_strnatok.html* Returns whether a string can legally be converted to a natural number. typeconv_strreal.html Converts a string to a real. typeconv_strrealok.html Returns whether a string can legally be converted to a real. typeconv_chr.html* Returns the ASCII value of a specified string of length one. typeconv_ord.html* Returns a string of length one with the ASCII value specified.
- Part of the language, conceptually part of the TypeConv unit.