:: Forum >>

separator numeric and not display decimal

hi,

I code => number.setTextFormat('### ###') but it's not working.
I do number.setTextFormat('### ###.##'), it's working but i want to display 12 789 and not 12 789.00 what can i do for not display .00
PHB
Monday, July 25, 2005
Up :)
PHB
Monday, August 1, 2005
it's not possible ? i'am having the same problem
alan
Thursday, August 4, 2005
Up again
PHB
Tuesday, August 30, 2005
http://www.mredkj.com/javascript/numberFormat.html
Jim Hunter
Tuesday, August 30, 2005
$html .= " $name.setDataText(function(i, j){return formats[j].dataToText(".$name."_data[i][j])});\n";
$html .= " $name.setDataValue(function(i, j){return formats[j].dataToValue( ".$name."_data[i][j] ) });\n";

but what can i do with this ?
PHB
Wednesday, August 31, 2005
Apparently current formatting function requires decimal point :-(

I will log this as a bug and will try to find a solution.

If you need something now - you can subclass Active.Formats.Number and provide your own implementation of valueToText method.
Alex (ActiveWidgets)
Wednesday, August 31, 2005
haaaaaa !! thx Alex for this reponse now i stop my research ;) and wait the solution

cya
PHB
Thursday, September 1, 2005
No news Alex ?
PHB
Monday, September 12, 2005
No news Alex ?
PHB
Wednesday, September 21, 2005

This topic is archived.


Back to support forum

Forum search