String help,its urgent...

I have a String like:
String str = "1 000.00";
Now I want to get the int/float value from this String but the space between '1' and '0' s needs to be removed,the no. the String has can be arbitrary in length..
What logic should I which would function efficently even for large values...

double value = Double.parseDouble(str.replaceAll(" ", ""));Something like that?

Similar Messages

  • Lsmw issue plz help its urgent

    Hi Experts ,
    i need to create a LSMW using batch input .
    but the requirement is on the basis of conditions my recording need to be changed .
    dat means
    3127POL09 3127POL09-1 CTR 3127-1003E 100 FUL
    3127POL09 3127POL09-2 WBS 3127POL01 60 FUL
    for ctr i ill have to post data in screen number 200
    and for wbs i ill have to post data in screen number 400 .
    can we put some conditions in recording in lsmw ?
    i no we can create multiple recording but how can we use them to fullfill my requirement .
    plz help its urgent
    thanx in advance

    Hi,
    Within LSMW, there is an option to write our own code wherein this code can be incorporated.
    This is in the Field Mapping Option...
    Just go to the Menu Extras->Layout
    and click on the check box Form Routines
    Global Data.
    Here you can define Global Variables and also perform your ABAP Coding.
    Regards,
    Balaji.

  • How to enable java script in my Firefox browser? help its urgent.

    how to enable java script in my Firefox browser? help its urgent.

    go to '''about:config''' and search for '''javascript.enabled''' change its value to '''true'''
    *[http://kb.mozillazine.org/About:config about:config]

  • Routine--- help its urgent.

    hai gurus,
    Here is the scenario.
    I am extracting the data from r/3.There is one field called "ITM_DESCRIPTION" in this i am gettting an # char only for single record and due to this delta loads are getting failed.
    we had already wriiten the code for eliminating # for that field but dont know its not working. So i am planning out to skip that particular record for a particular Purchase order number.
    Is there any such code to eliminate the particular record.
    Many thanks in advance.
    any one has the code plz send the code.
    Help its urgent.
    full points assured
    regards
    KP

    hai Oscar,
    I had already done this one.
    still geting the same problem.
    can u send me any code that i can add in SR of TR.
    regards
    Kp

  • Sql  Query . Please help its urgent.

    Suppose in table EMP there are 2 columns (Roll_no and Name)
    Roll NO Name
    00001 A
    00002 B
    00010 X
    My requirement is to trunc preceding Zero's. For ex : for Roll no: 00001 the output should be 1 and for 00002 --> 2 .
    Please help its very urgent.

    try this
          select
                  to_number(roll_no) roll_no,
                  name
          from
                  emp;
         Regards
    Singh

  • PLEASE HELP ITS URGENT (PROBLEM IN INCLUDE)

    IF I EXECUTE IN 4.6C ITS NOT GIVIN NY ERROR BUT THE SAME CODE IN 6.0 IS GIVING ERROR
    IF NOT ( ( text_flag = 'X' AND tcode_level > 0 ) OR
                 ( text_flag_level0 = 'X' AND
                   tcode_level      = 0   AND          )    ).
    ERROR IS:
    Incorrect logical expression: "AND" or "OR" must be preceded by an          
    expression (e.g. a comparison).          
    PLZ HELP ME AS IT IS VERY URGENT.
    THANX IN ADVANCE

    Hi anit,
    1. minor mistake
    2. remove this AND in bold.
    IF NOT ( ( text_flag = 'X' AND tcode_level > 0 ) OR
    ( text_flag_level0 = 'X' AND
    tcode_level = 0 <b>AND</b> ) ).
    regards,
    amit m.

  • Goods movement on a mass scale...Plz help, its urgent.

    Hi Gurus,
    I need to do the goods issue to a cost centre on a mass scale. Is there any way to do it in one hit or do i need to to put all the materials manually (around 3000 materials) and then enter the qty to be transfered?
    Kindly help me out, its very urgent...
    Thanks,
    Swati.

    Ask your Abaper to write a BDC Program and give all the details in EXCEL sheet

  • Query Regarding Workflow........plz help its urgent.

    hi friends
    Here is my query in Workflow
    I would like to know when a work item gets triggered.?
    I know that its a run time object,but i want to know is there any such condition which must satisfy before any work item gets triggered,or is there any process that helps to triggered a work item.
    Thanks in Advance
    mrutyun^

    hai
      for a workitem should be triggred, we dont want any thing.
    if workflow is triggred using event then, the following steps which is designed below is executed.

  • Problem with client side printing, please help its urgent

    hi ,
    am using struts and jasper reports on my project, now i was having problem that whenever i try to print the report , the printer dialogue box was appearing on server machine, i want it on client end, how to solve this problem, please any one know help me, it was urgent,
    my code was like this
    JasperCompileManager.compileReportToFile("c:/report/test.jrxml","c:/report/test.jasper");
    JasperPrint jasperPrint = JasperFillManager.fillReport("c:/report/test.jasper"),parameters,con);
    List l=jasperPrint.getPages();                         
    if(l.size() != 0){
      jasperPrint.setOrientation(JasperReport.ORIENTATION_PORTRAIT);
      jasperPrint.setPageHeight(877);
      jasperPrint.setPageWidth(963);
      JasperPrintManager.printPages(jasperPrint,0,l.size()-1,true);
    }thanks in advance,

    Double post.

  • Iphone 5 troubles, please help, its urgent!

    I got this new iphone 5, but i wanted my music and photos to go on it from my ipod 4th generation, so i connected my ipod to my computer and itunes and backed it up, when i plugged in my iphone, its said to back it up (hoping my files would transfer like it intended it would, i did so) .. except it turned my iphone 5 into an ipod, they layout was the same, the settings were the same, please i need help and i want to see my iphone back to the way i had it when i got it earlier today. I've tried all the resets and it still won't work

    Download the ipsw for your iphone, then open itunes and press shift (on windows) or option (on Mac), while holding that button click on restore, then you can selecte where to restore from, select the file you just downloaded, make sure is the latest version, and check if your phone is CDMA or GSM before downloading the file.
    You might be able to find the ispw on google

  • PLEASE I NEED HELP its URGENT

    ...i just met someone on the net we talked for a while and he asked me for my # i wasn't sure to give him my # so i ask him his and he gave me his # then i called him by an app called magic jack then after 7 minute he hang up all of a sudden...and i am scared can he access my phone? why did he hang up soon? i was using a wi fi internet...pls help i have my password and everything in my cell...my cell is IPHONE 4 IOS 6.1.3

    no he can't
    ios devices does not support being remote controlled
    ios devices does not support having program transfered over a phone call
    ios devices does not support having it's file system accessed

  • I need help its urgent answer me

    Help i lost my security answers and i dont remember it so help me

    Call Apple to help reset your Security Question.
    http://support.apple.com/kb/HT5699

  • Plz help --- its urgent

    Hi
    In Linux/Unix Environment we can pass command line arguments as
    java filename arg1 arg2 ....
    If I want to pass command line arguments while running Java in Eclipse .How can I do it?
    Thanks

    Hi
    In Linux/Unix Environment we can pass command line
    arguments as
    java filename arg1 arg2 ....
    If I want to pass command line arguments while
    running Java in Eclipse .How can I do it?
    ThanksBy reading the documentation / help screens that come with Eclipse, to see where you fill out some part of some screen about your project.

  • Please Help its Urgent ***POPUP at the time of MIGO Posting*****

    Hi all,
    Please help me on this issue,
    I want to display one popup at the time of migo posting and that popup ask to user that " How much labels you wants to print?" and in next of that i want one text box or input field in that user inputs the number of labels he wants to print.
    I have tried using various POPUP functions but i have not got any FM which fulfill my requirement so please help me on this issue?
    Kind Regards
    Sudarshan Gaikwad

    The standart POPUP* function modules seem to either give an option to output descriptive text, or ask for a dictionary based field as an input.  As you want both in one popup you may need to write your own custom pop-up.
    Create a function group with a Z function module and add a dialog screen with the required text and input field to this function group.
    Take a look at function POPUP_GET_VALUES as an example - A custom written one could be a lot simpler.
    Then call this function from your user exit.
    Andrew

  • NAM2 Upgrade fails could some one help its urgent!

    Hi All,
    I am trying to upgrade the application image on my NAM-2 Module on the  version 3.6(1a-patch3) to version 4.1(1), I am getting this error:
    ERROR: Application installation has failed. View the upgrade log for details
    I have successfully upgrade my maintenance image from 2.1(2) to 2.1(5) and it went fine without any issue. After which when i try to upgrade the application image I am getting this error.
    Kindly let me know what is causing this why am I not able to upgrade from 3.6 to veriosn 4.1 ?
    Any help on this would be highly appriciated.
    Thanks in advance.
    Regards
    Alex.

    HI Joseph,
    Thanks for the update. I need to know how can I revert back the maintenance image from 2.1(5) to 2.1(3).  as I have seen earlier couple of guys done this and the upgrade was successfull.
    Hence I would appriciate if you can let me know the procedure to revert back the maintenance image from 2.1(5) to 2.1(3)
    Thanks in advance. Waiting for your answer.
    Regards
    Alex,

Maybe you are looking for

  • Report in Excel format fails for huge amount of data with headers!!

    Hi All, I have developed an oracle report which fetches upto 5000 records. The requirements is to fetch upto 100000 records. This report fetches data if the headers are removed. If headers are given its not able to fetch the data. Have anyone faced t

  • Share music with another iTunes account

    Getting my wife an I phone,her first I device. I have had an iTunes account for a while and would like to share what I have with her. How can I share content with her iTunes account?

  • SetRollbackOnly doesn't work on Container Managed MDB

    I have a Container Managed Message Driven Bean + an AQ Queue. In my onMessage, I call the messageContext.setRollbackOnly() but my message is removed from the queue! Is it the expected behavior??? It seems that there is a problem with the transactions

  • A/R Invoice Won't Close

    Hi, We have an A/R Invoice for $3065.  An incoming payment was done for $3000.98.  A credit memo was created against the invoice for $64.02.  For some reason, the invoice didn't close.  There is nothing to manually reconcile. How can we get the invoi

  • Setting Logging API config file

    Hi, Is there a way I can set the Logging API's config file (java.util.logging.config.file) from within my program? I have tried using System.setProperty but it doesn't seem to work. The only way I seem to be able to set the property is with -D on the