I need to round a number to two decimal places. What is the code to round to two decimal places?
use this code
Code:
$ctr= round(($row['number_clicks']/$row['impression'])*100, 2) . "%";
PHP / by netpro / Leave a Comment
I need to round a number to two decimal places. What is the code to round to two decimal places?
use this code
Code:
$ctr= round(($row['number_clicks']/$row['impression'])*100, 2) . "%";
Hosting Solutions, Domain Names, Reseller Hosting, cPanel Reseller, Virtual Servers, Dedicated Servers
Website Hosting, Server Hosting: Cloud, Dedicated Server, HIPAA Server, and Word Press plans, within a fully managed environment
Website Hosting, Server Hosting: Cloud, Dedicated Server, HIPAA Server, and Word Press plans, within a fully managed environment
Website Hosting, Server Hosting: Cloud, Dedicated Server, HIPAA Server, and Word Press plans, within a fully managed environment
Leave a Reply
You must be logged in to post a comment.