Negative value (Currency)

QuestionsNegative value (Currency)
Fabio Martins asked 11 years ago

Hi Sir,

Is it possible format a currency negative value to:

(1.000,00) and not -1.000,00

My column code:

//COLUNA DO SALDO
$col = array();
$col["title"] = "Saldo (R$)";
$col["name"] = "saldo";
$col["align"] = "right";
$col["formatter"] = "currency";
$col["formatoptions"] = array("prefix" = "");

And negative values are displayed (for example): -234,00

Thank you!!!
Fábio Martins

Your Answer

14 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?