I am trying to give an option in a dialog as to how many decimal places to format. So:
Code: Select all
Format>%.2n,mill_calc,fmill_calc
Ideally what I would like to do is (normally "dp" is set by dialog input but in this example we will just set it to value 5):
Code: Select all
Let>dp=5
Code: Select all
Format>%.%dp%n,mill_calc,fmill_calc
I am guessing that is not possible to use a variable in the format command in this way.
Any thoughts on this?