Hello!
How to use JSL how to modify decimal numbers to binary data in this format?
Thanks!
000903 999999
D:\E\download1.dat
This is just a conversion to Hex
Names Default To Here( 1 ); a = "000903"; theHex = ""; i = 1; While( Substr( a, i, 1 ) != "", theHex = theHex || Hex( Substr( a, i, 1 ) ); i++; ); Show( theHex );
This returns
theHex = "303030393033";
Thank Jim!
So I understand the principle of calculation.But I still can't figure out how to end up adding something else and saving it in this format.
Thanks Experts!
c = "0000000000000000000000000000000000";
34——OK
c = "0000000000000000000000";
22——wrong
d="0100303030393033000000000000000000000001003939393939390000000000000000000000"
I don't understand 34=OK and 33=wrong