diff --git a/app/presenters/statistic_presenter.rb b/app/presenters/statistic_presenter.rb index 038a88e2d..ba0b17475 100644 --- a/app/presenters/statistic_presenter.rb +++ b/app/presenters/statistic_presenter.rb @@ -51,7 +51,7 @@ def method_missing method nr_stat = "percentage_nr_#{land_type}_cover".to_sym define_method(nr_stat) do - (@statistic.send(nr_stat) && @statistic.send(nr_stat) > 100.0) ? 100.0 : @statistic.send(nr_stat).round(0) rescue nil + (@statistic.send(nr_stat) && @statistic.send(nr_stat) > 100.0) ? 100.0 : @statistic.send(nr_stat).round(2) rescue nil end percent_oecm_stat = "percentage_oecms_pa_#{land_type}_cover".to_sym