I am facing problem for getting the value of after decimal


$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

You already have the 4. Can you reword your quetion, it doesn't make sense.

Sorry DaveAmour,

I confused,

I wont repeat like this,


Thanks pzuurveen.

your link help me to get.


Ok I see now you wanted to get the decimal portion!