@garygalbraith
Have you tried these formats?
Px:n.mOutput the number, with a maximum of n digits to the left of the decimal point and m digits to the right. If the input parameter is text, ignore n.m and just output the text.Px:Zn.mSame as above, but add leading zeros to ensure a total of n digits appear to the left of the decimal point.
Here's the full table:
"ABC"When text is enclosed in double quotes, the ASCII code for each character is sent to the output. In this example, the numbers 65, 66, 68 (hex 41, 42, 43) would be sent to the output. You may also included escape characters to output special characters like a carriage return or line feed.
XXOutputs the single byte represented by the specified pair of hexadecimal digits. For instance, if you entered 1F then a single byte with the decimal value 31 (hex 1F) would be sent to the output.
Px
Use the default formatting. For integer numbers, output the ASCII text of the number in decimal; for numbers with decimal points, output the ASCII text of the number and all the digits after the decimal point; for text inputs, output the text itself
Examples:
The integer 12 outputs the characters ‘1’, ‘2’
The floating point number 3.141 outputs the characters ‘3’, ‘.’, ‘1’, ‘4’, ‘1’
The text “hi!” outputs the characters ‘h’, ‘i', ‘!’.
Px:n.mOutput the number, with a maximum of n digits to the left of the decimal point and m digits to the right. If the input parameter is text, ignore n.m and just output the text.Px:Zn.mSame as above, but add leading zeros to ensure a total of n digits appear to the left of the decimal point.Px:nX
Output the ASCII representation of the number as n hexadecimal digits. If the input parameter is a floating point number, the digits after the decimal are ignored. If the input parameter is text, ignore the nX and just output the text.
Example: Px:2X applied to the decimal value 254 outputs ‘F’, E’
Px:ZnXSame as above, but add leading zeros to ensure a total of n digits.Px:C
Output the character as a single byte of data.
Examples:
The number 65 gives ‘A’
The number 13 gives a carriage return character