public function formatWithoutCurrency($value)
    {
        $formatter = new NumberFormatter($this->locale(), NumberFormatter::DECIMAL);

        $code = $this->code($value);
        $divisor = $this->divisor($code);
        $amount = $this->convert($value, $divisor);

        return $formatter->formatCurrency($amount, $code);
    }
public function formatWithoutCurrency($value)
    {
        $formatter = new NumberFormatter($this->locale(), NumberFormatter::DECIMAL);

        $code = $this->code($value);
        $divisor = $this->divisor($code);
        $amount = $this->convert($value, $divisor);

        return $formatter->formatCurrency($amount, $code);
    }
public function formatWithoutCurrency ( $ value ) { $ formatter = new NumberFormatter ( $ this -> locale ( ) , NumberFormatter :: DECIMAL ) ; $ code = $ this -> code ( $ value ) ; $ divisor = $ this -> divisor ( $ code ) ; $ amount = $ this -> convert ( $ value , $ divisor ) ; return $ formatter -> formatCurrency ( $ amount , $ code ) ; }
Format an input to a price without currency
@param $value
@return string
Format an input to a price without currency