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
I have filled out some tax forms in Acrobat 8 Standard, however, the font color for the filled out text is blue, and thus prints as a hard-to-read grey when printing on the laser printer.  I've searched and the standard advice seems to be to use the [More]
So here is the situation.  I purchased a 128gb ssd drive, installed it a usb enclosure, formatted it to Mac OS Extended (Journaled), cloned it with carbon copy cloner 3,   used the option key during boot up and selected the ssd drive and it booted my [More]
I am now with AOL and i want to transfer all my AOL addresses to Yahoo . I am having a lot of trouble with getting my mail from my account with Aol and going back and forth from Mozilla to my address book and forwarding is taking forever . I would li [More]
I recently downloaded songs to my walkman from a music download site. When i try to play some songs i get an error message. it says i can't play certain songs unless i update my license informationI apologize that no one replied to your post any soon [More]
I'm relatively new to LabVIEW and as I'm building bigger and bigger VIs with multiple subVIs, etc.  I've been wondering what makes a good "looking" program.  Basically... how should I organize it so that it's readable and makes sense to another [More]
Hi, In most of the OTN XML samples, the data was entered by SQL scripts. In real life, is it possible to maintain enterprise information /data by only using XML/XSQL technology without using Java applets? Is it at all possible ? As a newbe I am looki [More]
John, Try this Shutdown 0 from the Escript. Herman Magno Credit Lyonnais, NY Hello All, I am running Forte 3.0.D.0 on Windows NT 4.0. At night, I run batchfiles to backup and clean the repository. >> With previous versions of Forte (before 2.H) my s [More]
I'm using Vista 64 bit and haven't noticed other problems. The file is not HD. Export to Tape is grayed out in Premiere and other programs. Should I be able do the export even so, if everything is set up right? I'm going through a Sony DSR-11 to VHS. [More]
Hi, when you start web application, you have to go through same selection screen as when you are executing regular query. Is it possible to skip this screen and to make selection when you are inside the appliction. ThanksAre you saying about "Open Re [More]
I established an standard accounts for my family.  My son figured out that if he logs into the machine in Single User mode that he logs in as the root user.  He then proceeded to create another user with administrative privileges and change his accou [More]