Forum


Calc Builder Support

Calc Builder support
Forums
Public write access is disabled. Please login

max. decimals in inline results 16.01.2018 19:14

Hi!

How can i set inline result fields max decimals?

Thank you very much,

Zen11t

Re: max. decimals in inline results 17.01.2018 08:53

Hi,
as you have available all valid php functions you can use the round function in order to round to specific number of decimal places, or number_format function if you want to add any specific format to the output, here the official pages regarding these functions:


http://php.net/manual/en/function.round.php

$your_result=round($your_result,2);

or

php.net/manual/en/function.number-format.php

$your_result=number_format($your_result,2,".",",");

Hope this helps, regards
Moonsoft Team
www.moonsoft.es

Re: max. decimals in inline results 07.03.2018 17:22

Thank you very much.
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