Anobium - 2024-03-04

Revised type to STRING functions.

Build #1350 updates all the numeric variable to string to establish a common naming approach.

The approach is variable_typeTooutput_style

variable_type can be Byte, Word, Long, Integer or Single
output_style can be numeric value as String, Hex String or Binary string.

Legacy functions will remain until December 2024 when these legacy functions will be deprecated.

The function and example results are show below.

Type to string functions

  ByteToString()       127
  Str()      Legacy    127
  WordToString()       32768
  Str()      Legacy    32768
  LongToString()       2147483647
  Str32()    Legacy    2147483647
  IntegerToString()    -16384
  StrInteger() Legacy  -16384
  SingleToString()     12345.67871093

Type to hexidecimal string functions

  ByteToHex()          0x7F
  Hex()      Legacy    0x7F
  WordToHex()          0x8000
  LongToHex()          0x7FFFFFFF
  IntegerToHex()       0xC000
  SingleToHex()        0x4640E6B7

Type to binary string functions

  ByteToBin()          0b01111111
  WordToBin()          0b1000000000000000
  LongToBin()          0b01111111111111111111111111111111
  IntegerToBin()       0b010000000000000
  SingleToBin()        0b01000110010000001110011010110111