Sitemap

Amicuk Programming Answers

Remove the decimals value

-0001-11-30   Views:0

Advertisement

Dear All,    Any Idea to remove the  decimals value  from the text ?   my parameter declare as Character type.  eg :     i want from 10000.000 become 10000 thanksDear All, Any Idea to remove the decimals value from the text ? my parameter declare as

Dear All,
   Any Idea to remove the  decimals value  from the text ?   my parameter declare as Character type. 
eg :     i want from 10000.000 become 10000
thanks

The replay answer
Advertisement
Dear All,
Any Idea to remove the decimals value from the text ? my parameter declare as Character type.
eg : i want from 10000.000 become 10000
thanks
hi,
for this we can use two method one is,
data : value type p decimals 0.
value = '10000.000'.
write : / value.
Output is = 10000
Second method,
data : value type i.
value = '10000.000'.
write : / value.
Output is = 10000
If u use packed decimals
data : value type p decimals 1.
value = '10000.000'.
write : / value.
Output is = 10000.0

Go to See the other 7 answers

Remove the decimals value

Category:DefaultRelease time:-0001-11-30Views:130

Dear All,    Any Idea to remove the  decimals value  from the text ?   my parameter declare as Character type.  eg :     i want from 10000.000 become 10000 thanksDear All, Any Idea to remove the decimals value from the text ? my parameter declare as[More]

How to remove decimals in ALV

Category:DefaultRelease time:2015-10-11Views:130

How to remove displaying decimals in ALV report(using FM) ?HI Sri,    Pass the values into a variable of type i. data : var type i,          var1 type f value '2.111'.     var = var1. or else change the field catalog this way .. <b>lv_cat-decimals_o[More]

Remove decimals when equal to 0 SAPSCRIPT

Category:DefaultRelease time:-0001-11-30Views:130

Hello all, When printing a quantity field in a sapscript form, I would like to remove the decimals if they are all 0, but retain them if at least one is non zero.  For example: Quantity    -   Value to print 1000.000   - 1000 1000.020   - 1000.020 10[More]

Remove decimals from the Bar Graph..

Category:DefaultRelease time:-0001-11-30Views:130

Hii, How to remove the Decimals from the Bar Graph. I am using Reports 9i. I have created a Bar Graph in that It is showing the decimals bar. Actully in the query i hv used the inbuild function Round but while i run the report it is showing the decim[More]

How to remove decimals

Category:DefaultRelease time:-0001-11-30Views:130

Hi Gurus, I have an IO having properties CHAR (30). Data is showing in the report like this eg.123.000000 ,for this IO. Can I remove the decimals? Please help. Points assured. Rgds, SouravSAP, It would be advisable to change your ID to something else[More]

Remove Decimals from Number

Category:DefaultRelease time:-0001-11-30Views:130

Hi Gurus, Before posting this thread, i serached SDN and i could not find proper answer for my requirement. My Question is , i have a text filed which will contain a numeric value. say .5 . the desired output should be 0050. means , it should remove[More]

Remove decimal in formula

Category:DefaultRelease time:-0001-11-30Views:130

i have a date field which i extract the month and year in a formula from the date. when i place it in the report it displays with 2 decimals at the end of the month and year how do remove the decimals.  month({USR_CR_ALERTHIST;1.bkdate})&" /  &qu[More]

Alv tree - roundoff decimals

Category:DefaultRelease time:-0001-11-30Views:130

Hi abap king's, in <b>alv tree</b> program i want to remove the decimals or to round off the decimals. for ex. 1890.41 to be displayed as 1890. thanks, Madhu.Hi, In the internal table , use this logic to populate the field. DATA: X TYPE P DECI[More]

Remove Zeros in PLD

Category:DefaultRelease time:-0001-11-30Views:130

Hi All, Please suggest how to remove the decimals in PLD. Currently we had configured for 4 decimals, but in the PLD we require only 2 decimals. Please suggest Regards ShankerHi, If you use the Concat function, whenever you have some decimal values ([More]

Decimal Points in Report Output

Category:DefaultRelease time:2015-10-11Views:130

Dear Experts, We have a keyfigure 0GR_Qty in the cube 0pur_c01. For a Purchase order the 0GR_Qty in the cube 0pur_c01 is 9.12 MT. We created a report on this cube and executed the report for this PO, but in the output the 0GR_Qty is showing as 9.00 M[More]

Decimal in alv

Category:DefaultRelease time:-0001-11-30Views:130

how to use decimal values in alv? if i want to remove the decimals then how to do it in alv field catalog? are there any fld catalog attributes to suppress the decimal values in alv? Moderator message: please search for available information/document[More]

Hot
Hi i am prashant   My hp printer is printing the very slove it is connected to the network what i do?  printer model is HP laserjet 3010.Hello @Prashant1992  , and welcome to the HP Forums. I am sorry, but to get your issue more exposure I would sugg [More]
Hi! I am using LabVIEW 8.5, and I am trying to read columns from a file and plot with xy graph. I can do it with two channels, but I am having problems when the numbers of channels connected increase (maybe six or ten). My text file looks like this: [More]
My iPhoto library was deleted so I used Disk Drill Pro and seemingly successfully recovered them. I recovered them and saved them to a USB drive but when I click the recovered library, iPhoto says it doesn't recognize the format. This is what the con [More]
I got 3 select options like this: Tables : VBRK. *SELECTION SCREEN GUI SELECT-OPTIONS: so_fkdat   FOR vbrk-fkdat OBLIGATORY, so_fkart   FOR vbrk-fkart, so_vbeln   FOR vbrk-vbeln. Now In the title of my alv I want to show what user hav input in these [More]
Hello, in your post re: Halo vs. Ensemble, you mentioned a work-around for logic control surfaces. I've tried the bit where I turn on the Ensemble after the controllers are recognized, but the controllers, though recognized, still exhibit buggy behav [More]
This is a new Retina Macbook purchased in August 2013.  It was working fine till I upgraded it on last week.  Since the upgrade, I have had several boot up issues.  Now it is not booting up at all.  I just get a white screen after hitting the power b [More]
When Startinv.nch launches the Inventory screen loads, Netware 6.5 SP6 and ZFD 6.5 latest patch level. The inventory screen kicks out and registers this message. java: Page fault processor exception occured while executing class com.novell.zenworks.d [More]
I'm in a massive Multicam project that I'm trying to export a Pro Res encode but it won't. H.264 works but not pro res of any kind. Thoughts? Computer is 12 core Mac Pro fully maxed out. Message was edited by: Kevin Monahan Reason: more searchable ti [More]
Hello I have an intel core 2 duo processor (2,66GHZ E6700) with 3GB of ram (667MHZ), and in my preview window the video is very choppy. My graphic card is Radeon X1600. I'm on windows xp 32bit. What could be the problem ? RegardsMy CS5/AVCHD 1st Impr [More]
How can I change my phone number on my iMessage.  My email is showing correctly but the number is wrong.The Apple ID used for iMessage and FaceTime has a phone number associated with it, so first check your iMessage settings to verify that it is your [More]