I got $SConvert to work. The format is "DATA" 2 byte length actual data.
"DATA"_$C(4,0)_$C(205,204,204,61) means that the data length is 4 so I'm doing $SConvert($C(205,204,204,61),"F4") which is .10000000149011611938. I was slightly wrong about the length and data locations. I need both the $C(4) and the $c(0) at the beginning for the data length, and the $C(61)="=" at the end is part of the data.
I'm saving off the float/double and the original value in case I need it.
$lb($double(.10000000149011611938),"ÍÌÌ=")
Thanks again Julius. I wasn't finding this in the documentation.
- Log in to post comments