271
General Mach Discussion / Re: Mach3 Major Bug?
« on: June 24, 2015, 06:17:25 AM »I am trying to pass a value from a script to Mach3. The Value is 13.846153846154. However, instead of passing this value it passes 13.8567.
I don't see this here. If we take this snippet from your macro and enter your 26
Code: [Select]
Teeth = Question ("How Many Teeth on the Gear?")
Gear1=Val(Teeth)
Gear1 = 360/Gear1
Print Gear1
SetVar(1, Gear1)
The value that is printed is 13.846153846154 and the value in var 1 is exactly what it should be i.e. 13.8461538461538 so I don't understand where your 13.8567 is coming from.