convert/hex - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Conversion : convert/hex

convert/hex

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert(n, 'hex')

convert(n, 'hexadecimal')

Parameters

n

-

nonnegint; number to be converted

Description

• 

The convert(n, 'hex') command converts the non-negative integer n to a symbol representing the corresponding hexadecimal number. The convert(n, 'hexadecimal`) command is synonymous with convert(n, 'hex').

• 

The returned value is a symbol consisting of the characters 0 through 9 and A through F.

Examples

convert123456,hex

1E240

(1)

convert100,hexadecimal

64

(2)

See Also

convert

convert/base

convert/binary

convert/bytes

convert/decimal

convert/octal

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam