on 05-23-2008 9:30 AM
hi, experts,
I want to present a quantity field in smartform.
if it's content is 123.000,
I want show it as 123.000 , not 123.
otherwise, it is presented normally.
The field's domain type is MENG13V
and unit field is MEINS.
My process is as below,
1. reference unit field in global declaration.
2.&AMOUNT(13.3<)&
Result from smartform,
I got a error message, 'format is illegal.'
All I have tried is as below,
1. change &AMOUNT(13.3<)& -> &AMOUNT(13<)&
as it's contents is int, it will show as a number without decimal.
otherwise, it show as normal as I want.
2. change &AMOUNT(13.3<)& -> &AMOUNT(C *<)&
result as 1.
Please help me solve the problem.
thanks in advance.
Hi,
Can you try removing the '<', like &AMOUNT(*.3)&.
Reward if helpful.
Tyken
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
.3R will display the value with 3 decimal places
&AMOUNT(.3R)&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.