Conversation
supportHello, I have encountered a floating-point calculation error. The issue: When a user selects a quantity of 2.2 with a unit price of 2800, the total sum displays as 6160.000000000001 instead of 6160.00. My settings: I have “Decimal places” set to 2 in the global settings. <font dir=”auto” style=”vertical-align: inherit;”><font dir=”auto” style=”vertical-align: inherit;”>Korzystam z opcji „Mnoż przez cenę jednostkową” w ustawieniach pola.</font></font> Please help This topic was modified 4 weeks, 1 day ago by patrycja12z .
Hi @patrycja12z Sorry for late response! I have checked the workflow in my testing environment but there is no problem with floating point: Apart from setting of calculator there is 1 more place where the setting of decimal can be configured. You can find in the settings of the formula field: Please check this also. Hope this will be helpful Kind regards Tom Smith
Here is link to screen record: https://share.zight.com/xQu2mJRe#summary
Hi. Thank you for your reply and for sending the recording. That cleared up a lot! The error was on my end in the plugin settings. Thanks again. Best regards, Patrycja
Hi @patrycja12z We are glad to help you to solve your issue. May i kindly ask a small favor in return? If youre enjoying our product, wed be truly grateful if you could share your experience by leaving a 5-star review on our official website. Your feedback means a lot to us it motivates our team and helps us stay focused on delivering even better performance. https://wordpress.org/support/plugin/cost-calculator-builder/reviews/ Your support is sincerely appreciated! Kind regards
Hi @patrycja12z Sorry for late response! I have checked the workflow in my testing environment but there is no problem with floating point: Apart from setting of calculator there is 1 more place where the setting of decimal can be configured. You can find in the settings of the formula field: Please check this also. Hope this will be helpful Kind regards Tom Smith
Here is link to screen record: https://share.zight.com/xQu2mJRe#summary
Hi. Thank you for your reply and for sending the recording. That cleared up a lot! The error was on my end in the plugin settings. Thanks again. Best regards, Patrycja
Hi @patrycja12z We are glad to help you to solve your issue. May i kindly ask a small favor in return? If youre enjoying our product, wed be truly grateful if you could share your experience by leaving a 5-star review on our official website. Your feedback means a lot to us it motivates our team and helps us stay focused on delivering even better performance. https://wordpress.org/support/plugin/cost-calculator-builder/reviews/ Your support is sincerely appreciated! Kind regards