Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Output double to dialog edit control
#4
Thanks Kevin.

Not sure what I am doing wrong. The balance should be 999.50, but it is displaying as:

   

I used the example your provided for two decimal places.

Function _15_4_HOT
Code:
Copy      Help
case 10
,,    SetDlgItemText hDlg wParam F"{lParam%%.3G}"
,,,,case 22

Kind Regards
Matt


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)