how to get currency sign to display in a view panel xpages -


i have column in xpage want display currency symbol value. in underlying notes view displaying. have tried both view panel , dynamic view neither display $ symbol. displays number. if integer number ($100.00) displays 100. want display trailing zeros after decimal place along currency symbol

in view control can set view column's "display type" "number" , "display format" "currency". enable set currency symbol of choice , format accordingly. view column's code this:

<xp:viewcolumn columnname="price" id="viewcolumn4">     <xp:this.converter>         <xp:convertnumber currencysymbol="$" minfractiondigits="2" type="currency"></xp:convertnumber>     </xp:this.converter>     <xp:viewcolumnheader value="price" id="viewcolumnheader4"></xp:viewcolumnheader> </xp:viewcolumn> 

in above example price stored number.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -