diff --git currency_api/currency_api.module currency_api/currency_api.module
index 1348481..d699101 100644
--- currency_api/currency_api.module
+++ currency_api/currency_api.module
@@ -378,7 +378,7 @@ function currency_api_save($currency_from, $currency_to, $rate) {
  *
  */
 function theme_currency_api_amount($amount, $attributes) {
-  return t('!symbol!amount !code', array('!symbol' => $attributes['symbol'], '!amount' => number_format($amount, $attributes['decimal']), '!code' => $attributes['code']));
+  return t('!symbol!amount !code', array('!symbol' => $attributes['symbol'], '!amount' => number_format($amount, $attributes['decimals']), '!code' => $attributes['code']));
 }
 
 /**
