Difference between revisions of "Manuals/calci/ROMANOLD"
Jump to navigation
Jump to search
(Created page with "romanold") |
|||
Line 1: | Line 1: | ||
− | + | <div style="font-size:30px">'''ROMANOLD (Number,Form)'''</div><br/> | |
+ | *<math>Number</math> is the number and <math>Form</math> is the type of the roman numeral. | ||
+ | |||
+ | ==Description== | ||
+ | *This function used to change a Arabic Numeral form to roman form. | ||
+ | *Romans are formed by combining symbols together and adding the values. | ||
+ | *It is the special method of showing the numbers. In roman form, numbers greater than 1000 are formed by placing a dash over the regular symbol. | ||
+ | *In <math>ROMANOLD (Number,Form)</math>, <math>Number</math> is the Arabic Number and <math>Form</math> is the number which is indicating the type of the Roman Numeral. | ||
+ | *<math>Form </math> is varying from Classic to Simplified, becoming more concise as the value of increases. | ||
+ | '''Form value Type''' | ||
+ | 0 or omitted - Classic | ||
+ | 1 - More concise | ||
+ | 2 - More concise | ||
+ | 3 - More concise | ||
+ | 4 - Simplified | ||
+ | TRUE - Classic | ||
+ | FALSE - Simplified | ||
+ | * This function will return the result as error when the <math>Number</math> value is negative. | ||
+ | * Also there is no restriction for a <math>Number </math> value. | ||
+ | |||
+ | ==Examples== | ||
+ | #ROMANOLD(198,1) = CXCVIII | ||
+ | #ROMANOLD(1234,0) = MCCXXXIV | ||
+ | #ROMANOLD(45) = XLV | ||
+ | |||
+ | ==See Also== | ||
+ | *[[Manuals/calci/FIBONNACI| FIBONNACI]] | ||
+ | *[[Manuals/calci/PASCAL| PASCAL]] | ||
+ | *[[Manuals/calci/LUCAS| LUCAS]] | ||
+ | |||
+ | ==References== | ||
+ | *[http://en.wikipedia.org/wiki/Roman_numerals Roman nummerals] | ||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | |||
+ | *[[ Z3 | Z3 home ]] |
Revision as of 13:22, 21 April 2017
ROMANOLD (Number,Form)
- is the number and is the type of the roman numeral.
Description
- This function used to change a Arabic Numeral form to roman form.
- Romans are formed by combining symbols together and adding the values.
- It is the special method of showing the numbers. In roman form, numbers greater than 1000 are formed by placing a dash over the regular symbol.
- In , is the Arabic Number and is the number which is indicating the type of the Roman Numeral.
- is varying from Classic to Simplified, becoming more concise as the value of increases.
Form value Type 0 or omitted - Classic 1 - More concise 2 - More concise 3 - More concise 4 - Simplified TRUE - Classic FALSE - Simplified
- This function will return the result as error when the value is negative.
- Also there is no restriction for a value.
Examples
- ROMANOLD(198,1) = CXCVIII
- ROMANOLD(1234,0) = MCCXXXIV
- ROMANOLD(45) = XLV