Function NtoC() Foundation

Converts an integer to a string of digits for a specified base.

Syntax
NtoC( <nUnsigned|cHex>  , ;  // Type: NC
      [<nBase>]         , ;  // Type:  N   Default: 10
      [<nLength>]       , ;  // Type:  N
      [<cFillCharacter>]  ;  // Type:  C   Default: Chr(32)
    ) --> cString
Return

Returns a string containing the digit representation of the integer for the specified base. In case of an error the string contains only asterisks.

Description

<nUnsigned> is a 32 bit integer which may be specified alternatively as a string coded as a hexadecimal number.

<nLength> defaults to the necessary number of characters.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.