Changes between Version 45 and Version 46 of FAQ


Ignore:
Timestamp:
Sep 4, 2010, 3:48:05 PM (14 years ago)
Author:
Peter Baumann
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v45 v46  
    8080}}}
    8181
    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.'''
    8383
    8484   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.