Calc Builder Support

Calc Builder support
Public write access is disabled. Please login

comma formatting 18.10.2011 21:45


You can write me how to change that by introducing the data you could use a comma?

When you enter a data from a comma, eg 5,40 * 5,30 the result is different than when I enter 5.40 * 5.30.

In my commonly used commas.

Re: comma formatting 18.10.2011 21:45

if your users introduce commas when writting numbers, you should format the numbers before starting math to provide correct numbers to php functions. We suggest starting using

function to replace all commas introduced at input for dots.

Then you could make all calculations.

And you could show results formatted as your users expect to see the numbers using number_format to specify thousand and decimal separators.

Hope this helps
Moonsoft Team
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback