Hello roboticus,
I guess the only solution is to use sprintf and in cases the number will 5 digits by default then there will be no zero. It should work, or I hope at least. :D
Thank you for your time and effort.
In reply to Re^2: How to pack and unpack 16 bit decimal with leading zero
by thanos1983
in thread [SOLVED] How to pack and unpack 16 bit decimal with leading zero
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |