on 05-14-2009 12:08 PM
Hi EveryOne,
This is Ram Prasad.I want to display a number with commas in the grid (eg:1,000).In the grid it is shown as 1000.I wan to add commas for this number to be shown in the grid display template.Can any one help on this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ram
You try like this:
In your BLS you use like this:
stringpart( "10000" , 1,1 )&","&stringright( "10000" , stringlength( "10000" ) +(-1))
Then check in the execute query how you are getting?
same query you map to display template.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's an odd format, so I assume you mean 1 million to be displayed as: 1,000,000 ?
#,##0 should provide you with a comma as the thousands separator for all numbers in this column of your iGrid.
You can use format() function of BLS.
Eg: format(1000,"0,000")
It gives 1,000
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.