Olivier_Desmars
Member
In a browse, I display the following fields :
field1
field2
field3
ROUND(field4,x)
.
.
.
Where 'x' is an integer value (this is the dynamic point).
The problem comes from what the Browse is printing. The 'rounded' decimal values are always formatted with 2 digits, whatever the x value is :
1.00
0.53
0.44
So I tried to display the following :
field1
field2
field3
STRING(ROUND(field4,x))
.
.
.
The result is a bit better , but still not perfect , as it still misses some filling zeros :
1
.534
.44
I also tried to had a dynamic format to the string function but it doesn't work (always returning an empty string)
field1
field2
field3
STRING(ROUND(field4,x),cformatstring)
.
.
.
How can I obtain this good formatting in my browse :
1.000
0.534
0.440
?
field1
field2
field3
ROUND(field4,x)
.
.
.
Where 'x' is an integer value (this is the dynamic point).
The problem comes from what the Browse is printing. The 'rounded' decimal values are always formatted with 2 digits, whatever the x value is :
1.00
0.53
0.44
So I tried to display the following :
field1
field2
field3
STRING(ROUND(field4,x))
.
.
.
The result is a bit better , but still not perfect , as it still misses some filling zeros :
1
.534
.44
I also tried to had a dynamic format to the string function but it doesn't work (always returning an empty string)
field1
field2
field3
STRING(ROUND(field4,x),cformatstring)
.
.
.
How can I obtain this good formatting in my browse :
1.000
0.534
0.440
?