Hi

I have this helper:
public function showGermanMoneyFormat($value){
        $this->Number->addFormat('EUR', array('after' => ' €',
'decimals' => ',', 'thousands' => '.'));
        return $this->Number->currency($value, 'EUR');
    }

And I call it this way:
<?php echo $this->Common->showGermanMoneyFormat($sum);?>

I one case, my money value is for example -10.00
On my page it gets displayed like (10,00 €)

I have no idea, where the brackets are coming form?
I just wanted to show -10,00 € instead.
Is this from the $this->Number->addFormat() or the $this->Number-
>currency()?

Looking forward to your opinions.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to