One more question. What is the "1" in this string mean?
[\CD$num(%discnumber%,1)]
One more question. What is the "1" in this string mean?
[\CD$num(%discnumber%,1)]
The number of digits in the output - for 1-digit-numbers it adds a zero as padding. All other numbers stay as they are.
And it also transforms anything in DISCNUMBER into a number and stops where there is something non-numeric like the /
in 1/2