| DEC Function | Reference/Commodore BASIC V3.5
DEC(hexidecimal string)
This function returns a numeric value.
This function returns the DECimal value of a hexidecimal string, which must be between $0-$FFFF (0-65535). This is the opposite of the HEX$ function.
If the hexidecimal number is outside this range, or if the string contains non-hexidecimal characters, an ?ILLEGAL QUANTITY ERROR occurs.
None
|
| |
Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon |