diff --git a/modules/Settings/LayoutEditor/models/Module.php b/modules/Settings/LayoutEditor/models/Module.php
index 65b7fc565f8b168a5c3582424a160ea95d23c80b..bedc5ffbff083888cc48a2750ccf58e2810d1acb 100644
--- a/modules/Settings/LayoutEditor/models/Module.php
+++ b/modules/Settings/LayoutEditor/models/Module.php
@@ -233,13 +233,12 @@ class Settings_LayoutEditor_Module_Model extends Vtiger_Module_Model {
 							   break;
 			   Case 'Currency' :
 							   $fieldLength = $params['fieldLength'];
-							   $decimal = $params['decimal'];
-							   $uitype = 71;
-							   $dbfldlength = $fieldLength + $decimal + 1;
-							   $decimal = $decimal + 3;
-							   $type="NUMERIC(".$dbfldlength.",".$decimal.")"; //adodb type
-							   $uichekdata='N~O';
-							   break;
+                               $decimal = $params['decimal'];
+                               $uitype = 71;
+                               $dbfldlength = $fieldLength + $decimal;
+                               $type="NUMERIC(".$dbfldlength.",".$decimal.")"; //adodb type
+                               $uichekdata='N~O';
+                               break;
 			   Case 'Date' :
 							   $uichekdata='D~O';
 							   $uitype = 5;