setting fixed floats in edit box
I'm trying to set the number that appears in an edit box to a fixed decimal point. I only want 2 place holders after a decimal point, instead of how many exist. I know how to do this using iomanip.h settings on console programs, but can anyone point me to the right direction using windows programing with edit boxes?
below is some sample code of how I set up my code to udpate the edit boxes:
I want interest to only show 4.34 instead of 4.34444444444444
interest = monthlyinterest + originalprincipal;
I set the properties of the edit box to number, but that does not do the trick....