tbfleming / jscut

In-browser CAM package
http://jscut.org
GNU General Public License v3.0
302 stars 141 forks source link

Workaround for #41 #62

Open joelmatejka opened 5 years ago

joelmatejka commented 5 years ago

Instead of comparing float values with some imprecision (e.g. 12-0.9999.. > 11), convert the values to resulting strings for G-code with several decimal places and then back to numbers.