Wednesday, 8 March 2023

padzero in vex - sprintf %04d

s@name = sprintf('%04d',@primnum);
padzero doesn't work in vex, so you have to use sprintf and the `%04d` method - don't forget those little backticks

No comments:

Post a Comment