Forum Moderators: coopster
$new_height = ($new_width/$existing_width) * $existing_height;
The above returns too many digits
I need to round it to the closest inferior number if not equal to .5 or to the superior number if above .5
I do not think that the round function can be used or I do not find the correct way to use it.
How can I address my problem?
Regards
Henry