Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
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. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |