Fixed critical alerts and warnings

Removing require 'active_support/core_ext/numeric' broke the warnings
and critical alerts. changed to round with 2 decimals instead.