I\'m getting unexpected results from the round() and roundf() functions in the math.h library. Here is the sample code:
round()
roundf()
math.h
#
Looks like you're using it right, describe your environment some?