on 08-31-2009 10:32 AM
Hi Alll
Have Field in table format DEC 3 num after decimal separator example 7.456
like DATA DDD tye p decimals 3.
need format this field in smartform
if 7.000 need view in smartform 7
if 7.670 need view in smartform 7.67
if 7.532 need view in smartform 7.532
how format this field?
thx
Hi,
if that field is a currency or quantity field then it can be achieved by passing the reference field in the currency/quantity tab in the global definition of the smartform else may be spliting is the only way out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First divide the Value 7.570 as Var1 = 7 and Var2 = 570 use string operations.
By using String operations deleted leading Zeros right side of that value Var2.
Again Concatenate those Var1 and Var2 separated by '.' into another variable display it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.