Jump to content

/

AnotherTechGuy
Go to solution Solved by fizzlesticks,

http://www.cplusplus.com/reference/cmath/modf/

is the function you're looking for.

the integer part... stored in a double? isn't that weird?

Probably just a precision thing since double can be so much larger than an int/long.

1474412270.2748842

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×