Skip to Content

Remove decimal from input field

Hi SCN users,

I have to send the value 2250420.00 AUD from source field to target side by removing AUD. I know i can use replace string but there are other currencies also which is coming as input apart from AUD .

So overall I need to remove whatever characters are coming like AUD ,USD,etc.

To achieve this what is to be done at mapping Level.

Need help . Can anyone help me on this.

Thanks

SARIKA


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Apr 10, 2017 at 10:22 AM

    Glad that it's working.

    Regards

    Baski

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 04, 2017 at 02:40 PM

    Hi Sarika!

    If you need to remove decimal part if it has zero value you can reach it by using standard function replaceString in graphical mapping. Just replace ".00" with "".

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 05, 2017 at 04:52 AM

    Hi Sarika,

    Adding to what Evgeniy, check if you need to do any rounding up as well.

    Regards,

    Sanjeev

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Baskaran,

      Its perfectly working,

      Thanks for your valuable inputs.

      I am unable to select as correct answer for your comment

      Please comment separately so that i can give you credits.

      SARIKA