Try something like this, to see what the actual value of A is.
A2 = FormatNumber(A,15)
MsgBox (A2)
EDIT
Looks like it might need to be:
A2 = Format(A, ##0.000000000000000000)
Try something like this, to see what the actual value of A is.
A2 = FormatNumber(A,15)
MsgBox (A2)
EDIT
Looks like it might need to be:
A2 = Format(A, ##0.000000000000000000)
Gerry
UCCNC 2017 Screenset
http://www.thecncwoodworker.com/2017.html
Mach3 2010 Screenset
http://www.thecncwoodworker.com/2010.html
JointCAM - CNC Dovetails & Box Joints
http://www.g-forcecnc.com/jointcam.html
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)