Index: uc_store/includes/uc_price.inc
===================================================================
--- uc_store/includes/uc_price.inc	(revisión: 1442)
+++ uc_store/includes/uc_price.inc	(copia de trabajo)
@@ -243,6 +243,7 @@ function _uc_price_get_handlers($options
       'prec' => variable_get('uc_currency_prec', 2),
       'dec' => variable_get('uc_currency_dec', '.'),
       'thou' => variable_get('uc_currency_thou', ','),
+      'zeros' => variable_get('uc_currency_zeros', 0),
       'label' => TRUE,
     );
 
@@ -325,6 +326,13 @@ function uc_store_price_handler_format($
     $output .= $options['sign'];
   }
 
+  // Remove zeros if the option is enable
+  if($options['zeros']) {
+    if(floor($price) == $price) {
+      $options['prec'] = 0;
+    }
+  }
+
   // Format the number, like 1234.567 => 1,234.57
   $output .= number_format($price, $options['prec'], $options['dec'], $options['thou']);
 
