We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] Truncating Decimals without rounding off.....

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from VKLDMN on May 21 at 6:19 AM
CLEAR: LV_STR1 , LV_STR2.
SPLIT GV_BAR_G AT '.' INTO LV_STR1 LV_STR2.
LV_INT = STRLEN( LV_STR2 ).
IF LV_INT GE 2.
LV_STR2 = LV_STR2+0(2).
CONCATENATE LV_STR1 '.' LV_STR2 INTO GV_BAR_G.
ENDIF.

---------------Original Message---------------
From: shruti bhandari
Sent: Wednesday, June 25, 2008 8:00 AM
Subject: Truncating Decimals without rounding off.....

Hi experts,
I need to truncate the decimal places without rounding off. ie if we have some value 40.717 then after truncation it should be 40.71 and not 40.72. I tried decimals type and currency type but i couldnt get the desired result.
Kindly help.....
Regards,
Shairry,
S/W Dev.

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
VKLDMN  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language