Summary
This function is used to convert an integer to a decimal string. Convert the integer in Parameter 2 (Convert-From Address) into a decimal integer text, and store it in Parameter 1 (Convert-To Data Buffer).
Format
_bin2decasc(Conversion result buffer, Conversion
source address)
Parameter 1: Data Buffer
Parameter 2: Internal Device, Temporary address
Example expression 1 (When the bit length is 16 bits)
_bin2decasc(databuf0, [w:[#INTERNAL]LS0100])
The above data is converted as follows: Note that "NULL (0x00)" is added.
Example expression 2 (When the bit length is 32 bits)
_bin2decasc(databuf0, [w:[#INTERNAL]LS0100])
The above data is converted as follows: