05-10-2010, 03:32 AM
There is no format field for FLOAT type. If need to display FLOAT, assign it to double.
Macro Macro1425
__________
EXPORT_INFO_111 would be the same with or without pragma pack 1.
Macro Macro1425
FLOAT f=1.5
out f ;;OK
out "%.2f %.2f" f f ;;wrong. %f is only for double.
double d=f
out "%.2f %.2f" d d ;;OK__________
EXPORT_INFO_111 would be the same with or without pragma pack 1.
