Difference between revisions of "Manuals/calci/ROMAN"

From ZCubes Wiki
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 arabic numeral form to roman form.  
+
*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, numbers greater than 1,000 are formed by placing a dash over the  regular symbol.  
+
*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 number and <math>t</math> is the number which is indicating the type of the roman numeral.   
+
*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 n value is negative.
+
* 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

  1. =ROMAN(128,0) = Cv15529VIII
  2. =ROMAN(600) = DC
  3. =ROMAN(758) = DCCLVIII
  4. =ROMAN(999,0) = CMXCIX
  5. =ROMAN(999,1 )= CMXCIX
  6. =ROMAN(999,2) = CMXCIX
  7. =ROMAN(999,3) = CMXCIX
  8. =ROMAN(999,4) = CMXCIX
  9. =ROMAN(999,5) = CMXCIX

See Also

References