Jorge,
As this widgets developer I would suggest that you pay close attention to my responses to your inquiry. In my last post I corrected some of the text in your expression. Go back to my last post and copy the expression as your had the order of the single qoutes and the percent symbol backwards.
if(curFormat){
var args2:Array = curFormat.split("|");
if(args2[0]){
currFormatter.currencySymbol = args2[0];
currFormatter.useCurrencySymbol = true;
}
if(args2[1])
currFormatter.fractionalDigits = args2[1];
if(args2[2]){
currFormatter.useGrouping = true;
currFormatter.groupingSeparator = args2[2];
}else{
currFormatter.useGrouping = false;
}
if(args2[3]){
currFormatter.decimalSeparator = args2[3];
}
value = currFormatter.format(value);
}
Superficie: 9761.078281560
Superficie: 9761m2
The currencyformat attribute allows you to format a numeric field that represents currency values.!!