Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki markup without migration
|| Class | column | 
|| Property | col.xyz.formatnumber.decimalSeparator | 
|| Formal specification | col.xyz.formatnumber.decimalSeparator = <symbol> | 
|| Required | no | 
|| Default |  none | 
|| Version | 1.20.2  | 
|| Comment | * The property is only applied when the col.xyz.formatnumber is used. 
* In the col.xyz.formatnumber you still have to specify the decimal separator as .
* but you can override it with this col.xyz.formatnumber.decimalSeparator property | 
|| Example | {code}

Assume price = 123.45
col.price.formatnumber = $#.##

returns '$123.45'
 
col.price.formatnumber = $#.##
col.price.formatnumber.decimalSeperatordecimalSeparator = ,

returns '$123,45'
{code}
| 
|| Reference | * [Decimal format specifications|http://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html]
* [col.xyz.type = number]
* [col.xyz.summary]
* [col.xyz.formatNumber]
* [col.xyz.formatNumber.groupingSeparator]
 | 

...