Another question regarding C++ now theres 2 ways Im thinking I can do this. first, there's a magical function in C that does ALL this for me, something like round(74, 5) (74 to the nearest multiple of 5). this is probably unlikely... the other is to do some sort of conditional loop where X is the number to round, I was thinking of doing an increment until the number is a multiple of 5 and stop there. the only problem being how to determine which way the increment would go if its a 2 or 3 digit number. any ideas on how else to do this without an increment? somehow use Fmod() or % to figure it all out.