2007 Sep 11 7:46 PM
Hi..
I have a problem using function spell_amount.
When i pass to function the currency 'COP', this take the decimal part, and add it to
the integer part.
By example,
amount = 10.000,00
waers = 'cop'
After the function take amount and convert it in 1000000.
This not happen for others format currency.
Thanks for yours answer.. And excuse me.. My english is very bad..
Regards, Manuel H.
Hi..
I have a problem using function spell_amount.
When i pass to function the currency 'COP', this take the decimal part, and add it to
the integer part.
By example,
amount = 10.000,00
waers = 'cop'
After the function take amount and convert it in 1000000.
This not happen for others format currency.
Thanks for yours answer.. And excuse me.. My english is very bad..
Regards, Manuel H.
2007 Sep 21 5:58 PM
Welcome to SDN Forums.!
Probably, it isn't an abap problem, where I am, I check this function with this money, and the resul is the correct, consult with your functional consultant.. the function is adding the decimals positions, try complete this part.. 10000,00 and see the result..
Regards,
2007 Sep 21 6:10 PM
Thank u, for answer !
I too use the function TCURX_READ. This way i validate the currency decimals, and i can do necessary changes.
Regards,
Manuel H.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |