Main Content

Convert decimal integer to its base-*n* representation for
`fi`

objects

returns a base-`baseStr`

= dec2base(`D`

,`n`

)*n* representation of the decimal integer
`D`

. The output argument `baseStr`

is a character
array that represents digits using numeric characters, and, when `n`

is
greater than 10, letters. For example, if `n`

is 12, the
`dec2base`

represents the numbers 9, 10, and 11 using the characters
`9`

, `A`

, and `B`

, and represents the
number 12 as the character sequence `10`

.