Instead of directly declaring the variable in the edit box, it is called from the main edit class;Also since the EC_EDIT is a const int variable, I explicitly declared the number of decimal places.
east = (CEEdit*)InsCtrl(157, EC_EDIT, m_userENZ1.x);
east->decm = 3;
The decm is an int variable in CEEdit class, which is used for the number of decimal places. Here, defining the number of places as 3, it retains 3 decimal places, without rounding off.