<?phpclass Money { private $value; function __construct($val) { $this->value = $val; } function __invoke() { return sprintf('$%.2f',$this->value); }}$Money = new Money(11.02/5*13);echo $Money(); // $28.65