on 04-04-2007 1:08 PM
Hi,
My requirement is to round up the values in a column of a grid to the nearest .05.
The format(values,format) function of BLS doesnt work here. It is rounding the value to nearest 0.0 and adding 0.05 to that value. Same thing happens if I set format to 0.05 in Display Templates.
I tried to manipulate the columns through Javascript but it the values are not always valid.
Could anyone please guide me through this?
Thanks,
Lavanya
Hi, Lavanya:
Try this:
format(round(yournumber * 20.0) / 20.0,"0.00")
- Rick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
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.