Changes between Version 45 and Version 46 of FAQ
- Timestamp:
- Sep 4, 2010, 3:48:05 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ
v45 v46 80 80 }}} 81 81 82 * '''Q: When using division "/" as an induced operation I get unexpected results.'''82 * '''Q: When using division "/" as an induced operation I get integer results instead of floats.''' 83 83 84 84 A: Division of two integers yields an integer. If you want to have a float result then you need to cast the operands (that is: at least one of them) to float or double.