Difference between revisions of "Manuals/calci/ROMAN"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<div style="font-size:30px">'''ROMAN(n,t)'''</div><br/> | <div style="font-size:30px">'''ROMAN(n,t)'''</div><br/> | ||
*<math>n</math> is the number and <math>t</math> is the type of the roman numeral. | *<math>n</math> is the number and <math>t</math> is the type of the roman numeral. | ||
− | |||
==Description== | ==Description== | ||
− | *This function used to change a | + | *This function used to change a Arabic Numeral form to roman form. |
*Romans are formed by combining symbols together and adding the values. | *Romans are formed by combining symbols together and adding the values. | ||
− | *It is the special method of showing the numbers.In roman form, | + | *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>ROMAN(n,t), n</math> is the Arabic | + | *In <math>ROMAN(n,t)</math>, <math>n</math> is the Arabic Number and <math>t</math> is the number which is indicating the type of the Roman Numeral. |
*<math>t </math> is varying from Classic to Simplified, becoming more concise as the value of increases. | *<math>t </math> is varying from Classic to Simplified, becoming more concise as the value of increases. | ||
'''t value Type''' | '''t value Type''' | ||
Line 17: | Line 16: | ||
TRUE - Classic | TRUE - Classic | ||
FALSE - Simplified | FALSE - Simplified | ||
− | * | + | * This function will return the result as error when the <math>n</math> value is negative. |
* Also there is no restriction for a <math>n </math> value. | * Also there is no restriction for a <math>n </math> value. | ||
Revision as of 23:54, 29 January 2014
ROMAN(n,t)
- 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.
t 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
- =ROMAN(128,0) = Cv15529VIII
- =ROMAN(600) = DC
- =ROMAN(758) = DCCLVIII
- =ROMAN(999,0) = CMXCIX
- =ROMAN(999,1 )= CMXCIX
- =ROMAN(999,2) = CMXCIX
- =ROMAN(999,3) = CMXCIX
- =ROMAN(999,4) = CMXCIX
- =ROMAN(999,5) = CMXCIX