BIS fnc romanNumeral: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "|= Comments" to "|Comments=")
Line 1: Line 1:


{{Function|= Comments
{{Function|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 21:58, 30 August 2019


Hover & click on the images for description

Description

Description:
Convert integer to roman numeral (e.g. 42 becomes "XLII").
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
integer call BIS_fnc_romanNumeral;
Parameters:
integer:: Integer - Any integer between 1 and 3999.
Return Value:
String - Roman number

Examples

Example 1:
1 call BIS_fnc_romanNumerald; //Returns "I"
Example 2:
3999 call BIS_fnc_romanNumerald; //Returns "MMMCMXCIX"

Additional Information

See also:
BIS_fnc_ordinalNumberBIS_fnc_phoneticalWord

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section