Difference between revisions of "Documentation/How Tos/Calc: ROMAN function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(See also:)
m (Robot: Automated text replacement %s)
Line 28: Line 28:
 
: returns <tt>'''IM'''</tt>.
 
: returns <tt>'''IM'''</tt>.
  
=== See also: ===
+
{{Documentation/SeeAlso|
'''[[Documentation/How_Tos/Calc: ARABIC function|ARABIC]]'''
+
* [[Documentation/How_Tos/Calc: ARABIC function|ARABIC]]'''
  
'''[[Documentation/How_Tos/Calc: Number Conversion functions|Number Conversion functions]]'''
+
* [[Documentation/How_Tos/Calc: Number Conversion functions|Number Conversion functions]]'''
  
'''[[Documentation/How_Tos/Calc: Text functions|Text functions]]'''
+
* [[Documentation/How_Tos/Calc: Text functions|Text functions]]'''
  
[[Documentation/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']],
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
  
 
=== Issues: ===
 
=== Issues: ===
 
This function is currently shown in the Text category of the Function Wizard.
 
This function is currently shown in the Text category of the Function Wizard.

Revision as of 14:15, 25 February 2009


ROMAN

Returns a Roman numeral (eg XIV), as text, given a number.

Syntax:

ROMAN(number; mode)

number is a number in the range 1-3999 that is to be converted into a Roman numeral.
mode (optional, in the range 0-4) indicates the degree of simplification. The higher the value, the greater is the simplification of the Roman number.

Example:

ROMAN(999)

returns CMXCIX.

ROMAN(999; 0)

returns CMXCIX.

ROMAN(999; 1)

returns LMVLIV.

ROMAN(999; 2)

returns XMIX.

ROMAN(999; 3)

returns VMIV.

ROMAN(999; 4)

returns IM.

Template:Documentation/SeeAlso

Issues:

This function is currently shown in the Text category of the Function Wizard.

Personal tools