diff --git a/modules/line_item/includes/views/handlers/commerce_line_item_handler_field_edit_quantity.inc b/modules/line_item/includes/views/handlers/commerce_line_item_handler_field_edit_quantity.inc
old mode 100644
new mode 100755
index e6b0d70..3adf757
--- a/modules/line_item/includes/views/handlers/commerce_line_item_handler_field_edit_quantity.inc
+++ b/modules/line_item/includes/views/handlers/commerce_line_item_handler_field_edit_quantity.inc
@@ -45,8 +45,10 @@ class commerce_line_item_handler_field_edit_quantity extends views_handler_field
 
       $form[$this->options['id']][$row_id] = array(
         '#type' => 'textfield',
-        '#datatype' => 'integer',
-        '#default_value' => round($quantity),
+        '#datatype' => 'decimal',
+        //'#datatype' => 'integer',
+        '#default_value' => $quantity,
+        //'#default_value' => round($quantity),
         '#size' => 4,
         '#maxlength' => max(4, strlen($quantity)),
         '#line_item_id' => $line_item_id,
@@ -65,8 +67,7 @@ class commerce_line_item_handler_field_edit_quantity extends views_handler_field
 
       // If the custom data type attribute of the quantity element is integer,
       // ensure we only accept whole number values.
-      if ($form[$field_name][$row_id]['#datatype'] == 'integer' &&
-        (int) $form_state['values'][$field_name][$row_id] != $form_state['values'][$field_name][$row_id]) {
+      if ($form[$field_name][$row_id]['#datatype'] == 'integer') {
         form_set_error($field_name . '][' . $row_id, t('You must specify a whole number for the quantity.'));
       }
     }
