#******************************************************************************
# function to round a number into two
#******************************************************************************
function roundToTwo($number)
{
return round($number,2);
return round ((
(floatval($number) * (0 + $number/ 100))*100))/100 ;
}
#******************************************************************************
[Wednesday, January 02, 2008
|
0
comments
]
Popular Posts
- MYSQL joins
- Elgg : The most popular open source social networking platform
- function to check whether the year given is a leap year or not
- some php questions
- creating dynamic elements in HTML using Javascript.
- How to create a plugin in elgg.
- php question
- php questions
- question regarding socket
- Function to find out last 12 months details from the current date
0 comments
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.