if(k==3) {
UpdateData(true); y=y*atof(m_x);
m_x.Format("%.2f",y); UpdateData(false); }
if(k==4) {
UpdateData(true); y=y/atof(m_x);
m_x.Format("%.2f",y); UpdateData(false); } }
void CTttDlg::OnJian() {
// TODO: Add your control notification handler code here k=2;
UpdateData(true); y=atof(m_x); m_x=" ";
UpdateData(false); }
void CTttDlg::Oncheng() {
// TODO: Add your control notification handler code here k=3;
UpdateData(true); y=atof(m_x); m_x=" ";
UpdateData(false); }
void CTttDlg::Onchun() {
// TODO: Add your control notification handler code here k=4;
UpdateData(true); y=atof(m_x); m_x=" ";