0

I am new to Zend.

Now, I am trying to print/format numbers as per my locale, however when I do this

$c = new Zend_Currency();
$c->setFormat(array('display' => Zend_Currency::NO_SYMBOL));
echo $c->toCurrency(2500.01);

returns error.

I have checked this:

ZEND currency symbol is displaying 1

Please help me on this.

Community
  • 1
  • 1
Adarsh Khatri
  • 358
  • 1
  • 5
  • 23

1 Answers1

1

Most probably you are facing this issue because Zend library (Zend_Currency class) is not loading on page.