Click to See Complete Forum and Search --> : WARNING!!!!!
Gedrain
May 6th, 1999, 10:52 AM
yo people..
I get this warning can you help me to solve the problem..
warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
thx
Zorik Galstyan
May 6th, 1999, 11:07 AM
To avoid seeing this varning again use double type variables instead of float.
Zorik Galstyan
delbert Harry
May 6th, 1999, 11:30 AM
Because a double uses more bytes than a float, you can loose information if you type case from double to float. Use doubles if the numbers are big, but if they are small. Use (double)x = (double)y;
Zorik Galstyan
May 6th, 1999, 11:37 AM
I think it is worth don't use "float" type anymore and always use "double"
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.