Questions tagged with number

3 answers

0 votes

Asked by Tyguy7, on 30/1/10 in Behaviors

Cake sdding numbers to my strings

This is so weird, and maybe I'm missing something because I'm new to cakePHP, but when I use saveAll, my associated data saves, but all strings end up with the first character changed to a number! I'm realizing now that its taking the numerical...

1 answer

0 votes

Asked by watchout, on 8/5/10 in Helpers

Addformat() site-wide?

Cakephp 1.3 comes with a new method in the NumberHelper called Addformat().

I'd like to use this method to add a new format to display currencies through my website application. The only way I got this to work, is to add the format in each...

1 answer

0 votes

Asked by ikerib, on 1/6/10 in Views

currency format

Hi!

in my development environment I´m using the Debugkit.Toolbar and in the core I set

debug = 3, at a hearing by the data and use <? php echo $ number-

Currency ($ file ['File'] ['subventions'], 'EUR');? To

So I format it in currency.

However, when...

1 answer

0 votes

Asked by alienx2.myopenid.com, on 4/11/11 in Helpers

use 2 array will give error

Hello... Im new to cakePHP and i like cakePHP... But i have problem with like div confuse to use 2 array.

code:


<? echo $this->Html->div($this->Number->format($data['Test']['price'], array('before' => '₱ ','escape' => false,'thousands' => ','...
<< previous next >>