Sign in Join
FPDoc Onlineexperiment

IntToRoman function

In unit StrUtils

Represent an integer with roman numerals.

Declaration

pascal
function IntToRoman(Value: LongInt): string

Arguments

Value

Value to convert.

Function result

Value in roman numerals.

Description

IntToRoman converts Value to a string with the Roman representation of Value. Number up to 1 million can be represented this way.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.