I have calculation type program that outputs some numbers, but it's always in scientific notation. I would like the number in decimal points only. I have a modeless dialog with an EDITTEXT control that receives the double (output). I'm getting the text from one EDITTEXT (input), converting it to double with strtod(), calculate, then back to string with sprintf(). Is there a way to pass the numbers so they are not in scientific notation when displayed?
GetDlgItemText(hwnd, INPUT, InputText, MAX_PATH);
rInput = strtod(InputText,NULL);
//.... later in the code
//the code does some stuff with rInput, and assigns it to Output