0

I am facing problem for getting the value of after decimal

<?php

$a=5.4243423;
$c = round($a,1);
echo $c;

?>  

Out put is 5.4 


How to get 4 value?


Any body help me to get after decimal value
3
Contributors
5
Replies
25
Views
2 Years
Discussion Span
Last Post by DaveAmour
0

Sorry DaveAmour,

I confused,

I wont repeat like this,

Ramu

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.