Hi all!
I looked all over the Xcode documentation and the Internet, but I can't find what I am looking for, anywhere. Surely, there is a simple solution to this problem I have. I wan't to use only the decimal part of a float, is there a simple way to do this?
Say I got a float 3,14. I want to seperate 14 from the 3 and use both in different functions. Can someone point me in the direction of a primer about juggling with numbers in Xcode?
Any help is welcome!
Alfons the noob.
I looked all over the Xcode documentation and the Internet, but I can't find what I am looking for, anywhere. Surely, there is a simple solution to this problem I have. I wan't to use only the decimal part of a float, is there a simple way to do this?
Say I got a float 3,14. I want to seperate 14 from the 3 and use both in different functions. Can someone point me in the direction of a primer about juggling with numbers in Xcode?
Any help is welcome!
Alfons the noob.