Aidan Wilson
Results
2
comments of
Aidan Wilson
= 1 + c3 * pow(x - 1, 3) + c1 * pow(x - 1, 2); = 1 + 2.70158 * pow(0 - 1, 3) + 1.70158 * pow(0 -...
Ah I see, format your output to a certain number of decimal places seems like the proper solution. https://stackoverflow.com/questions/1458633/how-to-deal-with-floating-point-number-precision-in-javascript