Page tree
Skip to end of metadata
Go to start of metadata


Use this property to change the decimal separator when using the property col.xyz.formatnumber

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


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

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

returns '$123,45'

Reference