Page 1 of 1

echo search result in 2 decimal places

Posted: Sun Nov 15, 2009 8:55 am
by adsegzy
Hello

I need you help to display my result in 2 decimal places. Eg if I have this figure 1234.5678 in my database and i want it to display in my result page as 1234.56 or to approximate is to 1234.57
regards

Re: echo search result in 2 decimal places

Posted: Sun Nov 15, 2009 8:58 am
by phoenixrises