public static function toCurrency($digit) { return number_format($digit, 2); //sprintf("%.2f",$digit); }