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.
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.