macieq Posted July 29, 2016 Share Posted July 29, 2016 (edited) Hello in core file (/js/tools.js) on line #63 is error. Please notice: price = parseFloat(price.toFixed(10)); should be: price = parseFloat(price).toFixed(10); Edited July 29, 2016 by macieq (see edit history) Link to comment Share on other sites More sharing options...
[email protected] Posted September 12, 2016 Share Posted September 12, 2016 Dear friends, In order to fix javascript problems, the correct code should be like this: parseFloat((price*1).toFixed(10)); daniel. myeasygest.com 1 Link to comment Share on other sites More sharing options...
Eolia Posted February 14, 2019 Share Posted February 14, 2019 The real best way is: if(!price) price = price.toFixed(10); price = parseFloat(price); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now