Hi there,
Normally I post in the Access forums, but now
I have a VC application that I'll be working
with for a few days.
What I'm trying to do is get rid of some
compiler warnings, the app runs fine but
must get rid of warnings.
temp = pri_scale_factor * ...
temp is an int
pri_scale_factor is a float
C4244, conversion from float to int, possible
loss of data.
I resist changing the datatype of temp, if it
was dealing with strictly integers, I think a
union could help.
Any ideas?
Thanks
Wayne
Normally I post in the Access forums, but now
I have a VC application that I'll be working
with for a few days.
What I'm trying to do is get rid of some
compiler warnings, the app runs fine but
must get rid of warnings.
temp = pri_scale_factor * ...
temp is an int
pri_scale_factor is a float
C4244, conversion from float to int, possible
loss of data.
I resist changing the datatype of temp, if it
was dealing with strictly integers, I think a
union could help.
Any ideas?
Thanks
Wayne