Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
plumbus12563yWait so.... 3.0 - 1.1 will give me 2?
So to handle floating point you, uh, i guess use modulus and multiplication and do like
30 - 11 = 19
Then convert to float then divide by 10.
Or ... gah.
Probably you're missing a cast
@SpencerBeige Yeah, this happens cause byte is an unsigned int, and not int. So you must cast.