Originally posted by Creshosk
Actually it depends on the way the data is displayed. If a float is displayed as an int everything after the decimal will be cut off. so say the variable is 2.5 + 2.5 but is displayed as an int it will have 2+2=5.
If you want to get into it like that, it totally depends on the language you're using to display said data.
When storing in an integer, some languages truncate before the operation(s) are carried out, some languages truncate afterwards.
However, I wasn't talking about a data display. I said when two is added to two, you get four.
Not when two and a half is added to two and a half but is displayed as an integer. 🙂.