PHP - Math - Round Number Function
- by aSeptik
Hi All guys!
this time i have a math question for you!
Assuming we have three numbers one is the Number of Votes the second is the Total Values and the last is the Units Ratings.
units_ratings can be a number from 1 to 10;
if ( total_values / units_ratings != number_of_votes ) {
//do something for let the "number_of_votes" fit the division!
}
I ask this to you, cause i want know the best (fastest) way of achieve this!
Thanks!