The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Roman


Unit:SDL_math1
Class: None
Declaration: function Roman (InNum: longint): string;

The function Roman converts the integer number InNum to an ASCII string which is the corresponding Roman number. Numbers greater than 30000 or less than 1 are not converted. In these cases the function returns an empty string.

Example: write (Roman (1228)); writes the number 1228 using Roman notation: 'MCCXXVIII'


Last Update: 2023-Feb-06