<?php namespace common\helpers; class Price { public static function format($number) { return number_format($number, 2).' €' ; } }