Can I just use:
- Code: Select all
double mynumber = Format("{0:F6}", originalnumber);
exec.Code("G0 X" + mynumber);
Or does it need to be:
- Code: Select all
string mynumber = String.Format("{0:F6}", originalnumber);
exec.Code("G0 X" + mynumber);
double mynumber = Format("{0:F6}", originalnumber);
exec.Code("G0 X" + mynumber);
string mynumber = String.Format("{0:F6}", originalnumber);
exec.Code("G0 X" + mynumber);
Users browsing this forum: No registered users and 1 guest