Advanced-excel-functions-advanced-excel-math-trignometric-roman-function
提供:Dev Guides
数学と三角測量-ROMAN関数
説明
ROMAN関数は、テキストとしてアラビア数字をローマ字に変換します。
構文
ROMAN (number, [form])
引数
Argument | Description | Required/Optional |
---|---|---|
Number | The Arabic numeral you want converted. | Required |
Form | A number specifying the type of roman numeral you want. The roman numeral style ranges from Classic to Simplified, becoming more concise as the value of form increases. See the Roman numeral Styles Table given below. If omitted, it takes on the default value of 0 (denoting the classic form is used). | Optional |
ローマ数字スタイル表
Form | Type |
---|---|
0 or omitted | Classic |
1 | More concise |
2 | More concise |
3 | More concise |
4 | Simplified |
TRUE | Classic |
FALSE | Simplified |
ノート
- 引数のいずれかが10進数値として指定されている場合、整数に切り捨てられます。
- 数値が負の場合、ROMANは#VALUE!を返します。 エラー。
- 数値が3999より大きい場合、ROMANは#VALUE!を返します。 エラー。
- フォームが指定されているが無効な場合、つまり 値0、1、2、3 4、TRUEまたはFALSEのいずれでもない場合、ROMANは#VALUE!を返します。 エラー
適用範囲
Excel 2007、Excel 2010、Excel 2013、Excel 2016