2007 Jun 07 8:45 AM
i was searching for what data type to keep for amount. ( money).
i declared it as 'i', but does this take values after decimal
like
5000.45
2007 Jun 07 8:47 AM
declare it type p decimals 2 where 2 is the number of places after decimal.
U can also declate it type of any data element having CURR as the domain.
Reward points if helpful
Hi
Type 'i' will not take decimal values.
You have two options..One is
Data: d type f.
OR
Data d type P decimals 3..
Both of this will fullfill your requirment
Reward All Helpfull Answers.
2007 Jun 07 8:46 AM
2007 Jun 07 8:47 AM
declare it type p decimals 2 where 2 is the number of places after decimal.
U can also declate it type of any data element having CURR as the domain.
Reward points if helpful
2007 Jun 07 8:47 AM
Hi,
u can use type PACK with DECIMAL 2.
Ex: data: a1 type p decimal 2.
Revert back if any issues,
Reward with poinst if helpful.
Regards,
Naveen
2007 Jun 07 8:48 AM
Hi
Type 'i' will not take decimal values.
You have two options..One is
Data: d type f.
OR
Data d type P decimals 3..
Both of this will fullfill your requirment
Reward All Helpfull Answers.
2007 Jun 07 8:48 AM
2007 Jun 07 10:31 AM
2007 Jun 07 10:33 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |