03-29-2023, 08:16 PM
All work great, aside from a missing comma in mdijkens wonderfully simple example.
Here's a test program of mdijkens idea:
Here's a test program of mdijkens idea:
Code: (Select All)
n = 45
c$ = Right$("000" + LTrim$(Str$((n))), 3)
m = Val(c$)
Print n, c$, m