#******************************************************************************
# 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
- Elgg : The most popular open source social networking platform
- function to check whether the year given is a leap year or not
- Running a perl script from PHP
- some php questions
- solving the packaging problem in PHP
- php questions
- creating dynamic elements in HTML using Javascript.
- How to create a plugin in elgg.
- Function to find out last 12 months details from the current date
- Jquery based dynamic adding and removal of html elements.
0 comments
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.