Difference between revisions of "Manuals/calci/ROMAN"

From ZCubes Wiki
Jump to navigation Jump to search
 
(13 intermediate revisions by 4 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==
*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 (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 17: Line 17:
 
   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>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==
#=ROMAN(128,0) = Cv15529VIII(CALCI)
+
#=ROMAN(128,0) = CXXVIII
 
#=ROMAN(600) = DC
 
#=ROMAN(600) = DC
#=ROMAN(758) = DCCLVIII
+
#=ROMAN(758) = DCCLVIII  
 
#=ROMAN(999,0) = CMXCIX
 
#=ROMAN(999,0) = CMXCIX
#=ROMAN(999,1 )= CMXCIX(CALCI)
+
#=ROMAN(999,1 )= LMVLIV
#=ROMAN(999,2) = CMXCIX(CALCI)
+
#=ROMAN(999,2) = XMIX
#=ROMAN(999,3) = CMXCIX(CALCI)
+
#=ROMAN(999,3) = VMIV
#=ROMAN(999,4) = CMXCIX(CALCI)
+
#=ROMAN(999,4) = IM
#=ROMAN(999,5) =  CMXCIX(CALCI)
+
#=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]
  
) where  and  .
 
 
'''ROMAN'''(Number, Form)
 
 
where,
 
 
'''Number''' - are represents Arabic numeral.
 
 
'''Form''' - a number specifying the type of Roman.
 
 
'''Form               Type'''
 
 
0 or omitted     Classic
 
 
</div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left">It converts an arabic numeral to roman.</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
 
If number is negative, ROMAN returns the #ERROR.
 
 
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
ROMAN
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
Lets see an example in (Column1, Row1)
 
 
UNIQ002b45fd0bb6c63b-nowiki-00000002-QINU
 
  
ROMAN returns MCCXXXIV.
 
  
</div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left">
 
  
{| id="TABLE3" class="SpreadSheet blue"
+
*[[Z_API_Functions | List of Main Z Functions]]
|- class="even"
 
| class=" " |
 
| class="  " | Column1
 
| class="  " | Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | MCCXXXIV
 
|
 
|
 
|
 
|- class="even"
 
| class="  " | Row2
 
| class="      SelectTD ChangeBGColor SelectTD" |
 
<div id="2Space_Handle" class="zhandles" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" class="zhandles" title="Click and Drag over to AutoFill other cells."></div><div id="2Space_Drag" class="zhandles" title="Click and Drag to Move/Copy Area.">[[Image:copy-cube.gif]]  </div>
 
|
 
|
 
|
 
|- class="odd"
 
| Row3
 
|
 
|
 
|
 
|
 
|- class="even"
 
| Row4
 
|
 
|
 
|
 
|
 
|- class="odd"
 
| class=" " | Row5
 
|
 
|
 
|
 
|
 
|- class="even"
 
| Row6
 
|
 
|
 
|
 
|
 
|}
 
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
*[[ Z3 |  Z3 home ]]
----
 

Latest revision as of 16: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