How to get this kind number?

I have a float number,e.g myfloat=123.34???. When the first "?">=5,
myfloat=123.35,or myfloat=123.34.Can anyone tell me how to get this kind number.
Thanks in advance.

In fact, not very clear of your problem.
Supposing you want to get fix position's value after ".",
you could firsly convert it to a string,
then position "." ,use subString() to get the value.
compare it, reconvert it back.

Similar Messages

  • How to get this kind component?

    I want to get this kind component.It's like a web's link.When i point to it,it's highlight.When i cliked it,it invoke other (such as program,URL).

    try this:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Atest extends JFrame 
         JPanel pan = new JPanel();
    public Atest()
         super();
         setContentPane(pan);
         setBounds(1,1,600,450);     
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
                   dispose();     
                   System.exit(0);
         pan.setLayout(null);
         Alink alink = new Alink("Is this what you want?");
         alink.setBounds(50,90,128,22);
         pan.add(alink);
           setVisible(true);
    public class Alink extends JLabel implements MouseListener
         Color fcolor = Color.blue;
         Color lcolor = Color.red;
    public Alink(String s)
         super(s);
         addMouseListener(this);
         setForeground(fcolor);
    public void paintComponent(Graphics g)
         super.paintComponent(g);
         g.setColor(Color.darkGray);
         g.fillRect(0,getHeight()-2,getWidth(),1);
    public void mouseClicked(MouseEvent e)
         fcolor = Color.black;
         lcolor = Color.magenta;
    public void mouseEntered(MouseEvent e)
         setForeground(lcolor);
    public void mouseExited(MouseEvent e)
         setForeground(fcolor);
    public void mousePressed(MouseEvent e)
    public void mouseReleased(MouseEvent e)
    public static void main (String[] args)
         new Atest();  
    }       Noah

  • How to get this kind of film look?!

    How to get the film look like in this video:
    I shoot on the canon 60d with multiple lenses.
    Thanks.

    Thanks for the answers, finally I've got the result. May be it'll be useful for other people:
    So i've used one popular magic plugin for adjusting look with default presets  and lowered fps with default effect "Posterize time".
    Good luck

  • How to get purchase order number from delivery number?

    hi all,
    how to get purchase order number and item if i have only delivery.
    and in same way how to get po number and item if i know only batch number.
    kindly give me some solution i need this urgently.
    thanks in advance.

    Check the logic below:
    * Selecting the Sales Documents from VBFA for corresponding Invoice
        SELECT vbelv
                     posnv
          FROM vbfa
          INTO TABLE gt_itab3
         WHERE vbeln EQ gt_itab5-vbeln
           AND posnn EQ gt_itab5-posnr
           AND vbtyp_n EQ 'J'.
        IF sy-subrc EQ zero.
          SORT gt_itab3 BY vbelv posnv.
        ENDIF.
      ENDIF.
      IF NOT gt_itab3 IS INITIAL.
    * Selecting the Purchase Orders from VBFA for corresponding Sales Documents
        SELECT vbeln
               posnn
          FROM vbfa
          INTO TABLE gt_itab4
       FOR ALL ENTRIES IN gt_itab3
         WHERE vbelv EQ gt_itab3-vbelv
           AND posnv EQ gt_itab3-posnv
           AND vbtyp_n EQ 'V'.
        IF sy-subrc EQ 0.
          SORT gt_itab4 BY vbeln posnn.
        ENDIF.
      ENDIF.
    Batch number will be there in delivery item.
    Regards
    Kannaiah

  • How to get the total number of pages printed in a report?

    Hi All,
    I have a requirement where I need to print a frame of fields only in the last page. Unfortunately I cannot use the 'Print Object On' property as it doesnt work in my case. So, I am planning to write a format trigger on the frame to return TRUE if the page is the last physical page. Now, I need to know how to get the total number of physical pages that will get printed in the report so that I can use this to manipulate the frame. I was planning to use the 'Total Physical Pages' built-in, but it seems like I can just use it to print in a field and I can't use this field's value anywhere in the plsql code (formula column function/format trigger) in the report. Is there anyway to get the total number of pages printed in the report which can be used in the report plsql code?
    Thanks,
    Srini.

    i found the solution, thanks

  • How to get the page number in the break section?

    Hi expert,
    The user wants the page number came right after the Break group name if the break section contains more than 1 page. E.g.
    ABC Compnay
    XXXXXXXXXXX XXXXXXXX
    XXXXXXXXXX XXXXXXXXXXXX
    BCD Company, p 1
    XXXXXXXXXXX XXXXXXXX
    XXXXXXXXXX XXXXXXXXXXXX
    BCD Company, p 2
    XXXXXXXXXXX XXXXXXXX
    XXXXXXXXXX XXXXXXXXXXXX
    CDE Company
    XXXXXXXXXXX XXXXXXXX
    XXXXXXXXXX XXXXXXXXXXXX
    How to get the page number in section break level?

    Hi Wes
    * Create a Field on the margin.
    * Set its "Source" to "Page Number"/"Physical Page Number".
    * Click "Page Numbering" button.
    * In "Reset At" list box, choose the Repeating frame that surrounds your detail group in the layout.
    This should cause Reports to increment the page number until the "Company" repeating frame resets.
    Regards
    Sripathy

  • How to Get last page number in report 10g

    I want to get last page number in report but Current page number found from srw.get_page_num(n)
    but i want to get last page number for conditional formating like this
    srw.get_page_num(current_page)=last_page
    pls help me how can get last page number;
    pls help;
    thanks in advanced;

    Hi,
    you can use the Property Print Object On for this.
    Regards
    Rainer

  • How to get the page number's i nthe xml output

    Hi All,
    Greetings!!!!!!!!!!!!!!!!!!!!!!
    Need help to show the page number in this format 1/1 & 1/2.
    How to get this by defining a variable and getting it randomly.
    Please help...
    Thanks
    Rajesh
    Edited by: Badsha on Mar 26, 2010 12:20 AM

    Hi,
    Thanks for your reply.
    code works fine but it calculates total pages and shows page number as 1/2...
    But my requirement is i am converting AR remittance report to xml. and output will have diff outputs for a check date based on the supplier.
    For Ex..pdf output for check date '01-jan-2010' will have 5 pages firts two pages belong to same supplier(for this i want page number to be shown as 1/2 & 2/2) and rest of the pages belong to different supplier(for this i want page number to be shown as 1/1..)
    Please help to achieve this in my output.
    Thanks
    Rajesh

  • How to get the document number for a ware house order.

    Hello gurus,
    how to get the document number for a ware house order. [if GI is posted refering that WH order] .. is there any report?
    Thanks in advance

    There are several options.  When you post a Goods Movement, you can use LB12 -display Transfer Requirement for material document or LB11 Display TR for material.
    Depending on how your system is set up you may have gotten a Transfer Order automcatically.  In this case you can look at LT24 - Transfer Order for material.

  • How to get/view document number for KP06 Planning upload

    Hi,
    I have uploaded excel for Cost center/cost element Planning in KP06 using exccel planning.Now i want the document number which for which i have posted in KP06-Plan values using excel upload.
    Kindly advice me how to get the document number for CO-OM(Cost center/Cost element planning) in KP06?
    Thanks
    Supriya

    Hello,
    Please execute report KSBL. It should be useful.
    Regards,
    Ravi

  • When launching Illustrator on Mac OSX 10.9 I get an erro that the program is no longer supported on PowerPC. I tried moving the plug-ins to a different folder as the Adobe site suggested but no luck. Any ideas how to get this launched again? Same issue fo

    When launching Illustrator on Mac OSX 10.9 I get an error that the program is no longer supported on PowerPC. I tried moving the plug-ins to a different folder as the Adobe site suggested but no luck. Any ideas how to get this launched again? Same issue for Photoshop and InDesign

    You will need to uninstall, run the Cleaner tool and reinstall you adobe applications. Adobe apps don't take kindly to inplace updates of the OS on Macs.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • I have been working around proI am advised to reinstall Lion. I don't have a recovery disk, I downloaded it but screwed up making the disk. Can anyone tell me how to get this.

    I have had a number of problems since installing Lion on my iMac and am going to try reinstalling. I can't seem to find the recovery disk material from the App store. I downloaded it but think I should have copied the disk image rather than trying to open it as an App. You live and learn eh!
    Will someone tell me how to get this.

    The Lion Recovery disk is accessed by booting while holding down the command-r keys. To do a reinstall you do need an internet connection.

  • How to get this condition right ?

    Hi Friends,
    Please tell me , How to get this condition right.
    Current Date = Posting date (RBKP.BUDAT) + 7 (i.e. notifications are sent 7 days after the Posting date).
    I need to get the blocked invoices which are overdue for 7 days, and send these blocked invoices. How to do the declaration and get it right ...
    thanks in advance ...
    Edited by: Matt on Jan 28, 2009 2:38 PM - subject amended by moderator

    Hi, SK SIDDIQUI
    Have a look at following code will solve out your problem,
    TABLES: RBKP.
    data: it_rbkp like STANDARD TABLE OF rbkp WITH HEADER LINE,
          wa_it_rbkp like rbkp,
          p7date like sy-datum,
          p14date like sy-datum,
          p21date like sy-datum.
    p7date = sy-datum - 7.
    p14date = sy-datum - 14.
    p21date = sy-datum - 21.
    SELECT * from rbkp
      into CORRESPONDING FIELDS OF TABLE it_rbkp
      where budat <= p7date. " for 14 just Replace p7date with p14date and for 24 just Replace p7date with p24date
    Please Reply if any Problem,
    Kind Regards,
    Faisal

  • How to realize this kind of ALV(with two headerlines)?

    Dear all:
      could anyony provide some advice on how to realize this kind of ALV?
    |--|--
    field2
    |--|||--
         field11  |  field12   |  field21  |  field212      |
    |--|||--
    wait your kindly advice

    I had similar kind of requirement. Have a look at below code. It will help you. You can execute it. You can see the report output which contains two header lines.
    REPORT  ztestvib    MESSAGE-ID zz  LINE-SIZE 50.
    TYPE-POOLS: slis.
    DATA: x_fieldcat TYPE slis_fieldcat_alv,
          it_fieldcat TYPE slis_t_fieldcat_alv,
          l_layout TYPE slis_layout_alv,
          x_events TYPE slis_alv_event,
          it_events TYPE slis_t_event.
    DATA: BEGIN OF itab OCCURS 0,
          vbeln LIKE vbak-vbeln,
          posnr LIKE vbap-posnr,
          male TYPE i,
          female TYPE i,
         END OF itab.
    SELECT vbeln
           posnr
           FROM vbap
           UP TO 20 ROWS
           INTO TABLE itab.
    x_fieldcat-fieldname = 'VBELN'.
    x_fieldcat-seltext_l = 'VBELN'.
    x_fieldcat-tabname = 'ITAB'.
    x_fieldcat-col_pos = 1.
    APPEND x_fieldcat TO it_fieldcat.
    CLEAR x_fieldcat.
    x_fieldcat-fieldname = 'POSNR'.
    x_fieldcat-seltext_l = 'POSNR'.
    x_fieldcat-tabname = 'ITAB'.
    x_fieldcat-col_pos = 2.
    APPEND x_fieldcat TO it_fieldcat.
    CLEAR x_fieldcat.
    x_fieldcat-fieldname = 'MALE'.
    x_fieldcat-seltext_l = 'MALE'.
    x_fieldcat-tabname = 'ITAB'.
    x_fieldcat-col_pos = 3.
    APPEND x_fieldcat TO it_fieldcat.
    CLEAR x_fieldcat.
    x_fieldcat-fieldname = 'FEMALE'.
    x_fieldcat-seltext_l = 'FEMALE'.
    x_fieldcat-tabname = 'ITAB'.
    x_fieldcat-col_pos = 3.
    APPEND x_fieldcat TO it_fieldcat.
    CLEAR x_fieldcat.
    x_events-name = slis_ev_top_of_page.
    x_events-form = 'TOP_OF_PAGE'.
    APPEND x_events  TO it_events.
    CLEAR x_events .
    l_layout-no_colhead = 'X'.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
      EXPORTING
        i_callback_program = sy-repid
        is_layout          = l_layout
        it_fieldcat        = it_fieldcat
        it_events          = it_events
      TABLES
        t_outtab           = itab
      EXCEPTIONS
        program_error      = 1
        OTHERS             = 2.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *&      Form  top_of_page
          text
    FORM top_of_page.
    *-To display the headers for main list
      FORMAT COLOR COL_HEADING.
      WRITE: / sy-uline(103).
      WRITE: /   sy-vline,
            (8) ' ' ,
                 sy-vline,
            (8)  ' ' ,
                 sy-vline,
            (19) '***'(015) CENTERED,
                 sy-vline.
      WRITE: /   sy-vline,
            (8) 'VBELN'(013) ,
                 sy-vline,
            (8) 'POSNR'(014) ,
                 sy-vline,
            (8) 'MALE'(016) ,
                 sy-vline,
             (8)  'FMALE'(017) ,
                 sy-vline.
      FORMAT COLOR OFF.
    ENDFORM.                    "top_of_page
    The header lines are as below:
    VBELN      POSNR      MALE       FMALE
    I hope it helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • How to get Accounting document number from billing document number

    Hi,
    How to get Accounting document number from billing document number i.e. from VBAK- VBELN.
    Cheta Pant

    Hi,
    VBAK is the Sale Order header table, Billing document table is VBRK.
    Sales tables (VBAK,VBAP,VBRP,VBRK) do not store accounting document numbers.
    You do other way around. Just go to SE16 and enter the Billing document number in field Billing document VBELN in BSEG or BSID or BSAD table and execute, you will find the accounting document number.
    If you just want collect this information once then you can use table BSEG, but if you think to develope a report then use table BSID and BSAD.
    Regards,
    Chintan Joshi

Maybe you are looking for

  • Can I show Line Graph Markers in Legend?

    Can Markers be shown in the legend? We have a Graph with linetypes and markers and the linetypes show in legend but not the marker…. I have tried several things but nothing seems to work. Here is a snippet of code that I have tried (specifically setM

  • Giving up default gateway in Solaris 10

    Good Morning !!! Hi .. could you tell me, how can i add default gateway in solaris 10? i mean , i wanted give up as follows: rute add default 100.110.120.130 but it does not work !! Thanks.

  • IDOC - XI(BPM) - IDOC

    Hi, Does anybody has a documentation regarding how to set up an IDOC - XI - IDOC scenario using a BPM. Coz' currently I have an error from BPM - IDOC as the error "Unable to convert the sender service SC_PO_idoc2idoc to an ALE logical system". SC_PO_

  • Is there a default for text size

    Text size varies between 12pt and about 8pt - there does not seem tro be any logic that determines which. Size can be adjusted using CTL/+/- but you don't want to do this on every other page.

  • Translations in SPAU

    Hi Experts, In SPAU under the node 'Translations' there are different languages  like German, English, Spanish etc . Under each of these languages there are different objects with red signal. How will I handle these. If I do 'Reset to Original' what