Navigation:  Reference > Functions >

ConvertToHex()

Print this Topic Previous pageReturn to chapter overviewNext page

 

HEX(1)

 

PURPOSE

This function converts a numeric value to a hexadecimal number and returns that number as an A type field.

 

PARTS

 

1 f/c/eRequired - The number to be converted.

 

RETURN TYPE - A        

 

COMMENTS

All values are converted to R type first and then to hex.

 

EXAMPLE

define x type a size 10

x = hex(100)

// x = '64'

 

x = hex(110)

// x = '6e'

 

SEE ALSO

DATE()   Convert to time CTOT()   TIME GET SET  Convert time to record  TTOR() Covert time to number TTOF() Convert time to string  TTOC()

TIME() YEAR() Date Command Date to Record DTOR() Convert date to Character  DTOC() Days in month DAY_IN_MONTH

Increment the Month INC_MONTH DayMonthyear DMY() Month Day Year MDY()

Convert to Date CTOD() Charicter of month CMNTH()  Charicter to day of week CDOW()

 

 


Page url: http://www.cassoftware.com/tas/manual/converttohex().htm