Forum
Calc Builder Support
Calc Builder supportForums
Public write access is disabled. Please login
Re: Numbers after comma 28.08.2014 10:12
Hi,
You should use number_format php function (http://php.net/manual/es/function.number-format.php) like this:
$myresult=number_format((100/$number1),2) . '%';
If you want to decimal point of thousand separator, you should add 2 parameters to number_format function (Check docs).
Regards,
Moonsoft Team
www.moonsoft.es
You should use number_format php function (http://php.net/manual/es/function.number-format.php) like this:
$myresult=number_format((100/$number1),2) . '%';
If you want to decimal point of thousand separator, you should add 2 parameters to number_format function (Check docs).
Regards,
Moonsoft Team
www.moonsoft.es