SetFormat not working
Posted: 23 Oct 2017, 08:01
I have scripted a littlle ToolTip Calculator. Now I am trying to set different ammounts of decimal places through a GUI. The GUI is working fine but when I try to set the decimal places through:
Nothing changes. When I set up something similar in the top of the code (execute once in the beginning) it works just fine.
Am I missing something?
I have also triedBut this does not work either.
Code: Select all
Label:
SetFormat, Float, 0.%Var%
Return
Am I missing something?
I have also tried
Code: Select all
Numpad1::
SetFormat, Float, 0.2
Return
Numpad2::
SetFormat, Float, 0.5
Return