BIS fnc romanNumeral: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(page filling)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Convert integer to roman numeral (e.g. 42 becomes "XLII").|= Description
____________________________________________________________________________________________


Description:
| integer [[call]] '''BIS_fnc_romanNumeral'''; |= Syntax
Convert number to roman numeral (e.g. 42 becomes "XLII")


Parameter(s):
|p1= '''integer:''': [[Integer]] - Any integer between 1 and 3999. |= paramter 1
0: NUMBER


Returns:
STRING
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[String]] - Roman number |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_romanNumeral]]; --> |= Syntax
|x1= <code>1 [[call]] '''BIS_fnc_romanNumerald'''; //Returns "I"</code> |= example 1
 
|x2= <code>3999 [[call]] '''BIS_fnc_romanNumerald'''; //Returns "MMMCMXCIX"</code> |= example 1
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________


|x1= <code></code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[BIS_fnc_ordinalNumber]], [[BIS_fnc_phoneticalWord]]|= See also


}}
}}

Revision as of 15:30, 8 May 2018


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