var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Add leading Zeros to integer?
I need to cast an integer to a string to append to another string for a barcode.
How can I get 1 -> '0001' OR 100 -> '0100'
As long as they are all positive numbers, you can use:
If you need to cope with negative numbers, I'd recommend using a short function.... It is cleaner.
SELECT Replace(Str(1, 20), ' ', '0')
Thanks that was what I was looking for.
Originally Posted by Pat Phelan