Difference between revisions of "Manuals/calci/ROMAN"

From ZCubes Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="font-size:30px">'''ROMAN(n,t)'''</div><br/>
+
<div style="font-size:30px">'''ROMAN (Number,Form)'''</div><br/>
*<math>n</math> is the number and <math>t</math>  is the type of the roman numeral.
+
*<math>Number</math> is the any number and <math>Form</math>  is the type of the roman numeral.
 +
**ROMAN(), converts an arabic numeral to roman, as text.
  
 
==Description==
 
==Description==
Line 6: Line 7:
 
*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 1000 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)</math>, <math>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 (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>t </math> is varying from Classic to Simplified, becoming more concise as the value of increases.
+
*<math>Form </math> is varying from Classic to Simplified, becoming more concise as the value of increases.
   '''t value                      Type'''
+
   '''Form value                      Type'''
 
   0 or omitted      -          Classic
 
   0 or omitted      -          Classic
 
   1                -          More concise
 
   1                -          More concise
Line 16: Line 17:
 
   TRUE              -          Classic
 
   TRUE              -          Classic
 
   FALSE            -          Simplified
 
   FALSE            -          Simplified
* This function will return the result as error when  the <math>n</math> value is negative.
+
* This function will return the result as error when  the <math>Number</math> value is negative.
* Also there is no restriction for a <math>n </math> value.
+
* Also there is no restriction for a <math>Number </math> value.
  
 
==Examples==
 
==Examples==
Line 29: Line 30:
 
#=ROMAN(999,4) = IM
 
#=ROMAN(999,4) = IM
 
#=ROMAN(999,5) =  N/A
 
#=ROMAN(999,5) =  N/A
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|hg9Z_9F8yZU|280|center|ROMAN}}
  
 
==See Also==
 
==See Also==
 +
*[[Manuals/calci/FIBONNACI| FIBONNACI]]
 +
*[[Manuals/calci/PASCAL| PASCAL]]
 +
*[[Manuals/calci/LUCAS| LUCAS]]
  
 
==References==
 
==References==
 +
*[http://en.wikipedia.org/wiki/Roman_numerals Roman nummerals]
 +
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 15:32, 21 August 2018

ROMAN (Number,Form)


  • is the any number and is the type of the roman numeral.
    • ROMAN(), converts an arabic numeral to roman, as text.

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

  1. =ROMAN(128,0) = CXXVIII
  2. =ROMAN(600) = DC
  3. =ROMAN(758) = DCCLVIII
  4. =ROMAN(999,0) = CMXCIX
  5. =ROMAN(999,1 )= LMVLIV
  6. =ROMAN(999,2) = XMIX
  7. =ROMAN(999,3) = VMIV
  8. =ROMAN(999,4) = IM
  9. =ROMAN(999,5) = N/A

Related Videos

ROMAN

See Also

References