Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have field A, which has values 1 & 0. We get data every month end. But for this month we got the values with trailing numbers (i.e. 1.00000000000000000000 and 0.000000000000000000).
Can anyone please help me in removing the trailing zeros?
Thanks in advance!
Cheers,
VK
Try like:
SubField(A, '.',1) as NewA
How about
Num(A, '##')
or
Num(A, '##.')
May be this?
SubField(FieldName, '.', 1)
Or
FieldName * 1
Or
FieldName * Avg(1)
Hi Sunny,
Thanks for the response. But I don't see any value associated to that date. I see '-'.
I don't see any value associated to that date. I see '-'.
To what date?
As I mentioned, every month we get the data. The values will be 0 and 1. But for this month I got trailing zeros (i.e. 1.00000000000000000 and 0.00000000000000000).
When I created the list box for field "A", I see 0 and 1.
Now I selected the date 2/28/2017, then I see the association for the field A (i.e. 0 and 1 with White background in the list box).
Now I selected the date 3/30/2017, then I see no association for the field A (i.e. 0 and 1 with Grey background in the list box).
This is after using Num(A, '##').
Hi All,
Thanks for the quick response.
Cheers,
VK
Maybe A is a string and /or your decimal separator is different and you need to use the Num# function? i.e.
num(num#( A, '#.#', '.' , ','),'##')