Difference between revisions of "Manuals/calci/ROMANOLD"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "romanold")
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
romanold
+
<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 is used to change an 'Arabic Numeral Form' to 'Roman Numeral Form'.
 +
*Roman Numers 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
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|hg9Z_9F8yZU|280|center|ROMAN}}
 +
 
 +
==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 ]]

Latest revision as of 01:22, 14 February 2019

ROMANOLD (Number,Form)


  • is the number and is the type of the roman numeral.

Description

  • This function is used to change an 'Arabic Numeral Form' to 'Roman Numeral Form'.
  • Roman Numers 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. ROMANOLD(198,1) = CXCVIII
  2. ROMANOLD(1234,0) = MCCXXXIV
  3. ROMANOLD(45) = XLV

Related Videos

ROMAN

See Also

References