BASE

Converts a positive integer to a specified base into a text from the numbering system. The digits 0-9 and the letters A-Z are used.

構文

BASE(Number; Radix [; MinimumLength])

数値 は、変換される正の整数です。

Radix indicates the base of the numeral system. It may be any positive integer between 2 and 36.

最小長さ (オプション) は、作成された文字列の最小長さを決定します。指定した最小長さより短い結果には、左にゼロが追加されます。

=BASE(17;10;4) は、10 進数の 0017 を返します。

=BASE(17;2) は、2 進数の 10001 を返します。

=BASE(255;16;4) は、16 進数の 00FF を返します。

ご支援をお願いします!