cancel
Showing results for 
Search instead for 
Did you mean: 

My discussion got rejected with reason of FAQ

0 Kudos

Before posting my discussion I searched a lot regarding this post ' How to delete trailing zeros after decimal '. how to delete trailing zeros after decimal ? | SCN on 30 Jan 2008 but it didn't fulfill my requirement that's why I started this new discussion. I know that my post is quite same about the post of Kinjal Patel but the answer from that answer didn't reslove my problem. The answer is satisfactory for his requirement but not mine. Whatever answer I got from the discussion it was quite solve my requirement but I need more discussion on this specific topic. So it's my humble request to every moderator please don't reject my topic. As you know we should not reopen an old dead discussion. That's because I created a new discussion.

Accepted Solutions (1)

Accepted Solutions (1)

matt
Active Contributor
0 Kudos

The linked post asked the question:

if it is 22.000 then output will be 22

if it is 22.010 then output will be 22.01.

Your post asked

if it is 25.000 then it will be 25 .

if it is 2.500 then it will be 2.5.

I fail to see how your requirement was different.

Further, I've found more than 20 posts in SCN that give alternate solutions involving a function module call (FTR_CORR_SWIFT_DELETE_ENDZERO) so I also fail to see how this isn't a FAQ.

0 Kudos

Hi Matthew

I have told that I find this topics but also from my post I got this FM ( FTR_CORR_SWIFT_DELETE_ENDZERO ) but my requirement was not fulfill over there. Actually this FM only helps to delete decimal points. But I faced one another problem regarding this that when I show the output there is showing 25. & 2.5 , so I want to delete the '.' after 25 not from 2.5. So I need help.

matt
Active Contributor
0 Kudos

It's trivial string manipulation. Nothing difficult and it is well documented. The ABAP space expects a basic level of competency in programming - it does not exist to teach you the basics. This is not far from "how can I add two numbers together".

0 Kudos

Hi Matthew

Thanks a lots for encouraging my enthusiasm.

matt
Active Contributor
0 Kudos

I'm very happy to spend time teaching people how to fish. What I won't do is just hand out fishes. So here's a hint. ABAP string functions. Read about them and figure out how you can use them to fulfill your requirement.

Answers (0)