So, I have a function that returns a 4 digit value (in Hex), but if there is a leading zero it seems to drop off of the face of the earth. So, I tried hardcoding a value that has a leading zero and still have the issue, the leading zero disappears. I went with this:
Dim thisnum : thisnum=0475
and then wrote it out and got 475. So, then I used FormatNumber(thisnum,0,-1) and still got 475. I tried cstr(thisnum) and still got 475. I even tried
Dim thisnum : thisnum = cstr(0475)
and it still wrote out 475. And now I'm out of ideas. How in the blazes do I get that leading zero to print?
Thanks,
Willie
Dim thisnum : thisnum=0475
and then wrote it out and got 475. So, then I used FormatNumber(thisnum,0,-1) and still got 475. I tried cstr(thisnum) and still got 475. I even tried
Dim thisnum : thisnum = cstr(0475)
and it still wrote out 475. And now I'm out of ideas. How in the blazes do I get that leading zero to print?
Thanks,
Willie