Original Post
Hey, I have the following code in just a learning c++ program. float b; b = 6.12; This gives me the error: (21) : warning C4305: '=' : truncation from 'double' to 'float' Why? I dont get an error if i make b a double instead of a float.