From 4ba5ac7f8fd220c53b5244c4677732a574c7d9ec Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Tue, 14 Sep 2010 14:28:44 -0700 Subject: [PATCH] [#4507] Round billable rate display to nearest dollar value. --- app/helpers/contracts_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/contracts_helper.rb b/app/helpers/contracts_helper.rb index 1589374..47114af 100644 --- a/app/helpers/contracts_helper.rb +++ b/app/helpers/contracts_helper.rb @@ -71,7 +71,7 @@ module ContractsHelper end def format_hourly_rate(decimal) - number_to_currency(decimal) + "/hr" if decimal + number_to_currency(decimal, :precision => 0) + "/hr" if decimal end def format_payment_terms(value)