 10進→n進変換

＜概要＞
　10進数をn進数に変換します。

＜前提条件・制限＞
　特になし。

＜インストール＞

    ソースをパスの通ったディレクトリにデータファイルとしてコピーします。 

＜パラメータ＞
　変換する10進数とnをコンマで区切り、括弧で囲んで指定します。nのデフォルトは10です。

＜実行＞
　関数ですのでREXXプログラムから使用する必要があります。あるいはOS/2コマンドプロンプトからなら、rexxtryコマンドでテストできます。

例：
[F:\]rexxtry say digit(33554432,20)
A9E61C
  ................................................ REXXTRY.CMD on OS/2

[F:\]


ENGLISH TRANSLATION WITH GOOGLE
-----------------------------------

Decimal to n-ary conversion

<Overview>
Convert decimal numbers to n-ary numbers.

<Prerequisites and Restrictions>
 nothing special.

<Installation>

     Copy the source to a directory in your path as a data file.

<Parameter>
Separate the decimal number to be converted and n with a comma and enclose them in parentheses. The default for n is 10.

<Execute>
Since it is a function, it must be used from the REXX program. Or from an OS/2 command prompt you can test with the rexxtry command.

example:
[F:\]rexxtry say digit(33554432,20)
A9E61C
   ................................................ REXXTRY. CMD on OS/2

[F:\]

LINK
https://web.archive.org/web/20050120155717/http://www2u.biglobe.ne.jp/~gwm01021/rexx6-1.htm
