3.2.0

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
July 25,
Up :)
PHB
August 1,
it's not possible ? i'am having the same problem
alan
August 4,
Up again
PHB
August 30,
http://www.mredkj.com/javascript/numberFormat.html
Jim Hunter
August 30,
$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
August 31,
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)
August 31,
haaaaaa !! thx Alex for this reponse now i stop my research ;) and wait the solution

cya
PHB
September 1,
No news Alex ?
PHB
September 12,
No news Alex ?
PHB
September 21,

This topic is archived.

See also:


Back to support forum