| Posted: 04:13pm 06 Jul 2020 |
Copy link to clipboard |
 Print this post |
|
it controls padding with zeros to the left. if your number can be represented in less than 16 digits, then it will be padded with leading zeros. try the following:
X% = &HFFFF0000 Y% = &H800FFFFF X% = X% And Y% Print Hex$(X%, 16) Print Hex$(X%, 8)
> > run 00000000800F0000 800F0000 > >
cheers, rob :-) |