Skip to Content

Problem format Currency with Spell_amount


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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2007 at 04: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..


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.