How am I incorrectly using the round() function in C?

后端 未结 7 1513
-上瘾入骨i
-上瘾入骨i 2021-02-08 21:42

I\'m getting unexpected results from the round() and roundf() functions in the math.h library. Here is the sample code:

#         


        
相关标签:
7条回答
  • 2021-02-08 22:13

    Looks like you're using it right, describe your environment some?

    0 讨论(0)
提交回复
热议问题