How do you display a price in 2 decimal spaces? e.g.  $39.95000

Does anyone know how do you display a price in 2 decimal spaces? e.g. $39.95000
jsp code preferred please,
thanks in advance!

hi,
this is jsp code just follow code
<%@page language="java" import="java.text.*" %>
<%
double d=39.95000;
NumberFormat fmt=new DecimalFormat("0.00");
out.println(fmt.format(d));
%>
jpreddy

Similar Messages

  • How do you display a new image in  webdynpro view?

    How do you display a new image in  webdynpro view?
    Where is the image stored and how do we specify the image path?

    hi ,
    The UI element Image enables you to integrate graphics into the Web application in a format that is processed by the Web Server u2013 for example, GIF, JPG, and PNG format. Height and width of the graphic can be specified using the properties height and width. The graphic is displayed without borders.
    saveur image   as mime
    with Mime Objects u cn upload doc , jpeg, or giff files from our local system into the webdypnpro system .
    Right click on ur component->mime object->import
    In the transaction sicf/bc/webdynpro , u cn check your component name there you can view the mime objects created by you .
    also refer the SAP online help :
    http://help.sap.com/saphelp_crm50/helpdata/en/46/bb182fab4811d4968100a0c94260a5/content.htm
    to knw more abt mime repositories.
    http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
    regards,
    amit

  • How do you display a swf video / videos when you mouse over

    How do you display a swf video / videos when you mouse over, It'll be something like a pop up but just that it doesn't open in another windows but within the same window and will be like a pop up roll over image.

    Thank you for the reply.
    I've been putzing around with it and came across the 'SetEventHandler' object and thought I'd try and make that one work.
    Here's what I've got so far.
           <mx:SetEventHandler target="{turnAroundMovie}" name="handleMovieClip" handler="stopMovie()"/>
    And then my fuction.
       <mx:Script>
            <![CDATA[
                private function stopMovie():void{
                    turnAroundMovie.stop(); <!-- here's where I'm getting stuck -->
            ]]>
        </mx:Script>
    My first instinct was the simple stop(), but that didn't fly.  I even added a stopMovie frame in my .swf and tried a gotoAndStop('stopMovie'); but that didn't fly either.  And that's kind of where I'm stuck at.

  • How do you display total time for playlist in Itunes 11

    how do you display total time for playlist in Itunes 11

    "I can see the total time in my playlist on the computer but not on my device??"
    I have just posted a question asking the same!
    Did you have any joy?

  • How do you display file type in PS Elements 10?

    How do you display file type in PS Elements 10 in the Organizer for each photo?
    I know you can right click and look at meta data.
    In PSE 7 it was displayed under each photo.

    Two things:
    1.  Set the View option to show file names:
    2.  Ensure your thumbnails are large enough to display the data:
    Ken

  • How do you display exact duplicates in Itunes 11. It is now missung under the file?

    How do you display exact duplicates in Itunes 11. It is now missung under the file?

    Right-click on this direct link to ExactDuplicates and "download" or "save link as..." to a location of your choice. Double-click to the file to run it. You should get something a bit like this:
    If your system will allow it my script will produce a progress bar so you can see what is going on, otherwise you will have to be patient, it will carry on working in the background.
    After scanning for duplicates it then adds them to a new playlist. For large libraries this process can be quite slow. (Very slow if you also have old hardware like me.)
    Finally you'll get a results window like this (from a different test run, as I didn't have time for the full one to finish when I was grabbing screenshots).
    You can use shift-delete to remove selected tracks from the library as well as the playlist. Leave at least one track behind from each repeated group and don't send anything to the recycle bin unless you are sure you have more than one physical copy.
    The DeDuper script has several advantages over cleaning by hand. Automating the process allows preservation & amalgamation of ratings, play counts, playlist membership, etc. See this thread for more detail.
    tt2

  • How do you display Movies only in iPhoto?

    How do you display Movies only in iPhoto?

    Create a Smart Album like this (depending on your iPhone model)
    You'll see your iPhone pictures and all movies in the library.
    OT

  • HT1386 HOW DO YOU DISPLAY DUPLICATES IN PLAYLISTS?

    How do you display duplicates on the playlist with the new itunes format?

    Note that, as with the iTunes feature, this lists make no distinction between "originals" and "dupes", you have to decide which is which.
    There is also my DeDuper script for automatically removing duplicates copies but keeping one remaining copy of each set. This can preserve ratings, play counts, playlist membership, etc. which are lost in a manual clean up. Please take note of the warning to backup your library before deduping. See this thread for background on deduping and the script.
    If you want to manually remove duplicate tracks use shift-delete to remove selected tracks from the library as well as the playlist. Keep one of each repeated group of files and don't send the others to the recycle bin unless you are sure that there are multiple files on the disc as opposed to multiple entries to the same file. Same advice to backup applies.
    tt2

  • ITunes 11 ... How do you display duplicates?

    iTunes 11 ... How do you display duplicates?

    That function isn't in iTunes 11. Apple has said there will be a small update that will add that function back but no time frame was given.

  • How do you display excel formulas?

    How do you display EXCEL formulas in Numbers once imported?

    select the cell and look at the bottom of the window or doubel click the cell:
    after double clicking cell:

  • How do you display the tables of EBS R12 (VIS)?

    Hi,
    My sqlplus does not work but I have an Oracle sqldeveloper. How do you display the tables info of order management module in EBS R12 for windows?
    For example:
    Base tables
    oe_order_headers_all
    oe_lines_all
    oe_lot_serial_numbers
    oe_sales_credits
    oe_price_adjustments
    Interface tables:
    OE_HEADERS_IFACE_ALL
    OE_LINES_IFACE_ALL
    OE_RESERVTNS_IFACE_ALL
    OE_CREDITS_IFACE_ALL
    OE_PRICE_ADJS_IFACE_ALL
    OE_LOTSERIALS_IFACE_ALL
    OE_ACTIONS_IFACE_ALL
    Thanks,
    Fernando

    Hi Fernando,
    The tables for Order Management will mostly be in ONT schema - APPS schema only holds Views, Synonyms, PL/SQL Packages and similar abstractions.
    In SQL Developer make a connection to the APPS schema, then go to Synonyms and you'll see the tables (note you should filter as there are lots of objects in Apps schema)!
    In the synonym SQL tab you can see the base schema for the table, e.g.
    CREATE OR REPLACE SYNONYM "APPS"."OE_ORDER_HEADERS_ALL" FOR *"ONT"*."OE_ORDER_HEADERS_ALL";
    Make a connection to the base schema, e.g. ONT.
    Then you'll see the ONT tables under the Tables folder.
    Alternatively, connect as apps and execute SQL "desc OE_ORDER_HEADERS_ALL"
    Or look at the APPS schema views instead, e.g. OE_ORDER_HEADERS
    Regards,
    Gareth
    Edited by: gareth.roberts on Aug 18, 2009 11:52 AM

  • On elements 11 organizer how do you display file #

    On elements 11 organizer how do you display file # for each photo?

    Control D
    Zoom in until it appears.
    Alternately: menu Vieuw (?? I have a german version...). Click details, persons etc...

  • How do you display the capacity/free space for the hard drive......

    How do you display the capacity/free space for the hard drive on the desktop, under the hard drive icon.... I have seen this done, but I am not seeing any options to do so.... thanks.

    View, Show View Options…, Show item info checkbox.

  • How do you display RGB designation of photo swatches

    I am new to Kuler - cannot find my question answered in the
    "help" seciton - How can I display the RGB designations for the
    individual color swatches from photographs that I have uploaded? I
    cannot "open" these swatches from the color wheel page.
    Thanks!!

    Hi Fernando,
    The tables for Order Management will mostly be in ONT schema - APPS schema only holds Views, Synonyms, PL/SQL Packages and similar abstractions.
    In SQL Developer make a connection to the APPS schema, then go to Synonyms and you'll see the tables (note you should filter as there are lots of objects in Apps schema)!
    In the synonym SQL tab you can see the base schema for the table, e.g.
    CREATE OR REPLACE SYNONYM "APPS"."OE_ORDER_HEADERS_ALL" FOR *"ONT"*."OE_ORDER_HEADERS_ALL";
    Make a connection to the base schema, e.g. ONT.
    Then you'll see the ONT tables under the Tables folder.
    Alternatively, connect as apps and execute SQL "desc OE_ORDER_HEADERS_ALL"
    Or look at the APPS schema views instead, e.g. OE_ORDER_HEADERS
    Regards,
    Gareth
    Edited by: gareth.roberts on Aug 18, 2009 11:52 AM

  • How do you display the library name?

    After upgrade to 11.0.0.163, the library name no longer displays.  How do yoy display the library name?

    If you a referring to the Library Name that other devices can see over the network, it's in Preferences (Ctrl+,) under the General heading.
    Another way to get Preferences up is to:
    Hit the 'Alt' key
    Click on Edit
    Click on Preferences...

Maybe you are looking for

  • Can I share my internet connection from macbook pro to macbook air?

    Hello. I've tried to share my internet connection using wifi, two computers were connected with each other, but one had not internet connection. What can I do to fix it, and have internet access on both computers?

  • HVX Footage from FCP into Pro Tools Settings

    I just finished editing a 16 minute video shot on the Panasonic HVX at 720p24. I exported the OMF and a QT video, but our sound editor can't get everything to sync up right. The FCP sequence plays the video at 23.98 and the OMF audio imported at 24 f

  • Is it possible to download a 1minute video to my ipod??

    I have the 3rd gen. Ipod Nano, and there is a 1 minute video that I can play via mediaplayer that I would love to save on my ipod. I can't figure out if it's possible to upload this video to itunes and then download it to my ipod. Does anyone know if

  • Crystal Reports, Classical ASP and Internet Explorer 8.0 compatibility

    Hi We have 8 legacy applications which are developed on classical asp having reports built on crystal reports 8.0. Our internet explorer version is 6.0. We are planning to upgrade to IE 8.0 in the next month. While testing these legacy applications f

  • How to stop the RMI server?

    Hi, I create a RMI Server, it has no problem to start. And I created a gui for the server, so that when user press the "start" button, it will start the server. But somehow I want to update the server and restart again, but while the server is runnin