◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Compiler warning (level 4) C4136 conversion between different floating types Information was lost or truncated between two floating types. For example, the following code causes this warning: double doublevar; float floatvar; floatvar = doublevar; Note that unsuffixed floating-point constants have type double, so the following code causes this warning: floatvar = 1.0; If the floating-point constant should be treated as float type, use the F (or f) suffix on the constant to prevent the following warning: floatvar = 1.0F; -♦-