Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I'd like to set a tollerance value by means of a slider. I set the slider min value to 0, the max to 0.2 and the step of 0.01 and I set the value storage in a variable.
When I use the slider, the values aren't stored into the variable with the format of 0.1 but 0,1, so it doesn't work.
Why does it make the conversion of "." with ","? How can I workaround it?
Thanks.
N.
If I create a variable like yours (with comma as decimal separator), and I create a textbox with expression =1+vValue it return the addition ok, ie: if slider is in 0,02 it returns 1,02.
What's the issue you found?
Hi, at the beginig of script you can change Thousand and decimal separators, try with:
SET ThousandSep=',';
SET DecimalSep='.';
Well, I'd like to preserve the italian numeric notion ("." as thousand separator and "," as decimal separator).
I tried also to set the values in the sliding bar to 0,2 for the max and 0,01 for the step, but the result is always the same as the previous setting...
If I create a variable like yours (with comma as decimal separator), and I create a textbox with expression =1+vValue it return the addition ok, ie: if slider is in 0,02 it returns 1,02.
What's the issue you found?
You're right, my error was that I used a wrong syntax in the formula expression=1+$(vValue) instead of 1+vValue.
Sorry for the mistake and thank you for the help 🙂
N.