Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JavaP100

    How do I use Javascript to block IE Security pop-ups

    Yes. I did. thx. I used the onClick function within Javascript. and that seemed to block the pop up.
  2. JavaP100

    How do I convert a DOUBLE datatype to a two decimal number

    That helps!! Thanks a great deal!
  3. JavaP100

    How do I convert a DOUBLE datatype to a two decimal number

    Hello, Thx again. The problem with the code below is that format() returns only a String. I need the value in a double data type. When i try to cast into Double(using Double.parseDouble(). It throws no error but it trunates the zero i.e 1234.70 becomes 1234.7 Is there a work around...
  4. JavaP100

    How do I convert a DOUBLE datatype to a two decimal number

    Thx for the input. I tried this code sugguested above. ----------------------------------------------------- double myThreeDecimalsDouble = 1.234; double myTwoDecimalsDouble = Math.round(myThreeDecimalsDouble*100)/(double)100.00; ---------------------------------------------------- it works...
  5. JavaP100

    How do I convert a DOUBLE datatype to a two decimal number

    Hi All, I have a method that retrieves data from the database. The "Price" column (one of the column it returns) returns a DOUBLE data type. Which means the number could have three numbers AFTER the decimal point. I only want the UI to show a number of a max of TWO decimal points, Is there...
  6. JavaP100

    How do I use Javascript to block IE Security pop-ups

    Hi, I have a J2EE web applications that uses JSPs for its user interface. Anytime a user clicks on one of the screen buttons, a Microsoft IE pop-up window pops up saying "Are you sure you want to navigate away from this page. You may have unsubmitted changes. If you leave this page the...

Part and Inventory Search

Back
Top