I want to know is there a complete divide function in C standard library that retrieves the quotient as a float number. in fact I want the remainder to be zero or be as next to zero as possible.
Is there such a function?
Thanks,
I want to know is there a complete divide function in C standard library that retrieves the quotient as a float number. in fact I want the remainder to be zero or be as next to zero as possible.
Is there such a function?
Thanks,
either fmod() or modf(), I'm not sure which one you want. Use google and look them up if you don't know what they do.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.