Floats

Started by
0 comments, last by Indy 23 years, 3 months ago
If GetDlgItemInt(hdwnd,ID_EB1,NULL,1); retrives an int, how do I get hold of floats. My program needs to work with input/outputs that need 3-4 decimal places, how do I do that? Do I need to set my Editboxes up as floats? Thanks Indy
Indy
Advertisement
A quick solution would be to read it in using GetDlgItemText() and use atof() to convert it to a float.

-------
Andrew

This topic is closed to new replies.

Advertisement