Rounding values

Rounding values correctly intval() does not round values correctly!!!!As for C++, it simply converts to int and ignores decimal places. If you want a source value of say 5.6 to be converted to an integer of 6 and not 5 then use:

Read More