protected function getRevenue($revenue) { if (round($revenue) != $revenue) { $revenue = round($revenue, self::REVENUE_PRECISION); } $revenue = Common::forceDotAsSeparatorForDecimalPoint($revenue); return $revenue; }