Adding currency Symbol using formatNumber

Hello,
I want to display currency symbol along with the number in JSP. I tried the following two tags, but the currency symbol ( USD) is not displayed.
<td> <fmt:formatNumber value="${row.col1}" type="currency" pattern="###,###"/></td>
<td> <fmt:formatNumber value="${row.col1}" type="currency" pattern="###,###0"/></td>
Can you please help

I think if you specify a custom pattern the currency doesn't get formatted.
Either try :
<fmt:formatNumber value="${row.col1}" type="currency" />
or
<fmt:formatNumber value="${row.col1}" pattern="$###,###"/>

Similar Messages

  • Euro currency symbol  using '€'

    Hi Everyone,
    Do you have any problem populate the Euro currency symbol using '&#8364;'. I use XDK 9.2.0.2.0 and run on WinNT, Solaris and both display the Euro currency symbol using '&#8364;' as a "?"
    Sample test.xsl:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" encoding="ISO-8859-1"/>
    <xsl:template match="/">
    <Root>
    <euro>&#8364;</euro>
    </Root>
    </xsl:template>
    </xsl:stylesheet>
    or
    test.xsql
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <Bid xmlns:xsql="urn:oracle-xsql">
    <euro>&#8364;</euro>
    </Bid>
    Thanks

    Using the unicode &#8364; Your best bet is to ask tom at: http://asktom.oracle.com

  • Hp wireless keyboard and Indian Currency Symbol

    I have purchased hp wireless keyboard.
    How to type Indian Currency Symbol using hp wireless keyboard?

    StudentsNet, welcome to the forum.
    Here is a guide that may help you with your problem.  Try it to see if it works.
    Please click the "Thumbs Up+ button" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Currency symbol not shown when loaded report using JRC

    I'm trying to show the currency symbol in the report file. the .rpt files is already designed with MS Access table but now im reusing the report and populating pojo classes to map with tables. the report that is bound with MS Access table shows currency symbol in currency fields. but when I load report with JRC, it is not showing. I tried to change Fieldformat also programattically as below.
    ReportObjectController reportObjectController = report.getReportDefController().getReportObjectController();
    ReportObjects reportObjects = reportObjectController.getReportObjectsByKind(ReportObjectKind.field);
    if (reportObjects != null && !reportObjects.isEmpty())
                     for (int i = 0; i < reportObjects.size(); i++)
                         IReportObject reportObject = reportObjects.getReportObject(i);
                         if (reportObject instanceof IFieldObject)
                             IFieldObject fieldObject = (IFieldObject) reportObject;   
                                IFieldFormat ifFormat = fieldObject.getFieldFormat();
                             ifFormatObject = (IFieldFormat) ifFormat.clone(true);
                             break;
    for (int count = 0; count < tables.size(); count++)
                        // Set data source for each table
                        setDataSourceForEachTable(tables.getTable(count).getAlias());
    reportObjectController = report.getReportDefController().getReportObjectController();
    reportObjects = reportObjectController.getReportObjectsByKind(ReportObjectKind.field);
    if (reportObjects != null && !reportObjects.isEmpty())
             for (int i = 0; i < reportObjects.size(); i++)
                 IReportObject reportObject = reportObjects.getReportObject(i);
               if (reportObject instanceof IFieldObject)
                             IFieldObject fieldObject = (IFieldObject) reportObject;   
                             if (fieldObject.getFieldFormat().getNumericFormat() != null)
                                  fieldObject.setFieldFormat(ifFormatObject);
                                  //fieldObject.setFieldValueType(FieldValueType.currencyField);
                                  break;

    Above code just get one of the currency field and clones the format. And after setting the pojo datasource, I'm again setting the cloned format to that particular field. But still  Im not getting currency symbol in the reports that are loaded via JRC. even I set locale before opening the report. but that also not helping.
    report.setLocale(Locale.UK);
    report.open(reportName, 0);
    Please guide me, If I'm wrong in this.

  • How to fix wrong currency symbol and placement of it?

    Hello
    I'm setting up a re-install of Lion after the 10.7.5 update killed it, and Mountain Lion turned out to be a battery-killer.
    I'm trying to setup the formatting of digits, time and currency in System Preferences, but I cannot see how I can fix the incorrect way it wants to display the Danish currency symbol.
    In Denmark, our currency symbol is either "kr." (short for "kroner") or "DKK" and it's a suffix preceded by a space. Microsoft has always gotten this partly wrong, chosing the right symbol ("kr."), but prefixing it. It's always been easy to fix, though.
    On my Mac, the system wants the symbol to be "Dkr" (which is definitely not correct in any way), it wants to prefix it, and it wants to glue it directly on to the amount, not even adding a space, i.e.
    "Dkr1.000,00"
    The correct notation is,
    "1.000,00 kr."
    I can't find any GUI way to fix it, but I know there are tons of settings hidden that you can set using a terminal. Just have no clue if this is one of those, and how to do it if so.
    Is it, and how?
    Thanks in advance,
    Daniel

    Dr. Daniel, M.D. wrote:
    About my issues with Mountain Lion, the only third-party apps I had installed were Chrome (first thing I do is get a proper browser so that I can finish setting up things), iTerm2 (need a proper terminal to fiddle with settings and do things on my server via ssh), and Spotify (to listen to stuff while settings up things).
    Are Safari, Terminal, and iTunes somehow "improper"?
    Actually, I was refering more to system modifications. My EtreCheck tool is designed to list those because people sometimes forget about software that only runs in the background.
    Sure, there may be some workarounds to get things better with ML, but seriously, I'm not paid to be a beta-tester, and if at 10.8.2 it still can't perform properly, I'm not going to be the one working 24/7 to get my laptop regain the lost 50% battery life if I can just wipe the crap and revert to Lion.
    I am a paid beta tester and developer, just not for Apple. I can assure you there are no significant issues with 10.8.2. There are some poorly-coded 3rd party software that doesn't work well on Mountain Lion. Sometimes developers take short cuts just to get something working and never fix it to work "properly" because, technically, it isn't broken - until the next operating system version comes out that is.
    When Lion was released people were also falling over themselves to reinstall Snow Leopard for the same reasons. You can search for old posts from myself and others who said Lion was fine (as Mountain Lion is) and accurately predicted that people would, in due time, be falling over themselves to reinstall Lion.
    This morning, after having reinstalled Lion, I fired up Chrome with my local radio station in Flash, playing news while I prepared coffe and cereal, keyboard backlight constantly on (as I hadn't yet set up anything (I always set a 5-second timeout)), the screen at 50%. Remaining battery life was 7h30m. Same setup with ML was pretty much exactly half that.
    Chome, espeically with Flash, is known to have problems in Mountain Lion. I suggest using Safari and the ClickToFlash extension. That way, you get a very similar browser that will first try modern HTML5 methods for streaming that media and only fall back to Flash if necessary. Even without Chrome, Flash is a total CPU and battery hog.

  • Display Currency symbol with value in ALV Report

    Hi Experts,
    I need to display currency symbol with value in ALV Report like if currency type is dollar then $200.
    Here I am using field catalog type slis_t_fieldcat_alv and suing field merge catalog FM: 'REUSE_ALV_FIELDCATALOG_MERGE'
    I tried like this
        IF <fs_fieldcat>-fieldname = 'STPRS'.
          <fs_fieldcat>-seltext_s = 'Std Cost '.
          <fs_fieldcat>-seltext_m = 'Std Cost'.
          <fs_fieldcat>-seltext_l = 'Std Cost '
           <fs_fieldcat>-tabname = 'MBEW'.
          <fs_fieldcat>-ctabname = 'T001'.
          <fs_fieldcat>-cfieldname ='WAERS'.
          <fs_fieldcat>-datatype = 'CURR'.
        ENDIF.
    Please any one can suggest the solution for this.
    Advance Thanks.
    Regards,
    Bala Achari

    Hİ,
    Check this link.
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=24379571
    Take care.
    Çağatay

  • Currency Symbol displays correctly locally, but not when I deploy to server

    Hi have some number fields, where I set the control hint on the view to Currency format. When I run locally, everything displays properly: $1,234.56
    But when I deploy my application to our development server, the $ is coming up as a ¤1,234.56. This happens to all my currency fields, not matter what object is displaying it.
    I've seen one other post that talks about using a numberConverter tag everytime I display the values, but I'd prefer to stick with "best practice" of using the control hints. Especially since it works fine locally, I have to think this is some sort of server side setting that I am missing. Does anyone have any idea what might be happening here?

    The ¤ symbol is a "neutral" currency symbol, it is used if no locale can be determined (no matter if you are using control hints or converters). Try setting a default local to your application on the faces-config.xml file.
    <?xml version="1.0" encoding="windows-1252"?>
    <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
      <application>
        <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
        <locale-config>
          <default-locale>en</default-locale>
          <supported-locale>en</supported-locale>
        </locale-config>
      </application>
    </faces-config>Hope this helps.

  • How  can i print currency symbol in smart form?

    how  can i print currency symbol in smart form?
    i want to print the currency symbol with grant total based on the vendor currency.
    pls hepl............

    Hi,
    think You can't print the symbols for currency like $ and Pound etc
    see this doc if needed
    A variable in SAPscript is called a symbol. There are the following types.
    • System symbol (e.g. the number of the current page)
    • Standard symbol (usable in any document)
    • Program symbol (value from the print program)
    • Text symbol (“local variable”)
    The value of a symbol is text for using within SAPscript code and is represented by the symbol-name enclosed by ampersands. On seeing the tell-tale ampersands in SAPscript code, you sometimes need to figure out the symbol type.
    goto any PAGEWINDOW's Text elements in Script (SE71)
    from the Menu-> INSERT-> Symbols
    you find all symbols here
    System symbols
    System symbols in a SAPscript form are comparable to system fields like SY-UZEIT in an ABAP program, and include these. The graphical editor offers three types of system symbol.
    1. General system symbols
    See the table TTSXY. PAGE is the most widely used. The list given in our BC460 training manuals is out of date.
    2. SAPscript system symbols
    See the dictionary structure SAPSCRIPT. SAPSCRIPT-FORMPAGES is the most widely used.
    3. ABAP system symbols
    For the ABAP system field SY-UNAME, say, the symbol is SYST-UNAME. http://SYST is the dictionary structure for ABAP system fields.
    Sample code:
    User: &SYST-UNAME&
    Page &PAGE& of &SAPSCRIPT-FORMPAGES(C3)&
    Standard symbols
    Standard symbols are maintained centrally (in the table TTDTG via transaction SE75) for use in any document. Menu path:
    Tools
    Form Printout
    Administration
    Settings
    Some standard symbols are SAP-standard and others are custom. Curiously, table TTDTG is cross-client although SAPscript forms are not.
    The value of a standard symbol has to be defined for each language used. This gives a way to make a single SAPscript form multi-lingual.
    We can take advantage to an extent of the central maintenance, though there is no guarantee that the available standard symbols will used in every appropriate context.
    Standard symbols complicate searching a SAPscript form, since text like ‘Charity registration 211581’ may be hiding in a standard symbol.
    Text symbols
    A text symbol is declared and assigned to within the SAPscript code, and so obviously applies only to the current document. The command DEFINE is used, requiring /: in the tag column, as in the following examples.
    /: DEFINE &COMP_NAME& = ‘University of Warwick’
    /: DEFINE &WS_RATE& = &TAX_SUMM_C&
    Reward points for useful Answers
    Regards
    Shiva Kumar

  • Problem with Currency Symbol in IR export to CVS

    I have a number of queries that have been successfully generating csv files for years and have been adapted to provide the basis for the same information to be available as an interactive report with the option to download as csv. The old scripts set the NLS settings at the outset. The Apex app sets the NLS environment in the vpd function. The apex report query is a "select * from some_view" style one that ultimately queries a remote view with several columns like this:
    select TRIM (LEADING ' ' FROM TO_CHAR(ROUND(100,2),'L9999G999G990D00')) x from dual;
    just as the were in the prior manual SQL.
    The "new" apex export to csv files contain an extra character preceding the currency symbol that is upsetting Excel on import.
    old-style hexdumps look like this:
    2c 22 a3 31 30 30 2e 30 30 22 2c
    ,"£100.00",
    new ones like this:
    2c 22 c2 a3 31 30 30 2e 30 30 22 2c
    ,"£100.00",
    Where on earth is Apex getting it into its head to add this (the on-screen report is fine!) and how can I stop it?
    Thanks in anticipation.

    hi,
    this is a normal problem u can avoid this by moveing these currencu value to a character field then print the char field us ing condece... &var(C)&..
    eve if not solve the problem use the TEMPLATE node..
    Please Close this thread.. when u r problem is solved. Reward all Helpful answers
    Regards
    Naresh Reddy K

  • Currency Symbol for each amount

    Hello People,
    I have to include currency symbol infront of each amount in my web dynpro application display.
    Example, there is an amount in USD, currency symbol for USD must be published there and
    if there is an amount in EUR, currency symbol for EUR must be published there and so on...
    Can someone help to know me how can I do that?
    Thanks,
    Megha

    Hi Megha,
    If you are going to store the symbols as graphic/icons  I would store them in the mimes folder and then reference the the mime name in your custom table. So two fields in your table, currency and mime name.
    I think you might find that if using a Unicode system that you can just type the symbol into the table - e.g. $ £ ₧ u20AC rather than having to use any graphics. I suppose it depends on how many symbols you need.
    Again - I'm not aware of anything SAP standard that does this.
    Good luck,
    Chris

  • Page 1 missing Currency Symbol

    Hello Guys,
    I have a financial report, and I need to show currency symbol once on every page (first line on every page).
    I go to the Number tab on the field format, click Customize, then select the "Currency Symbol" tab and check 2 options - "Enable Currency Symbol" & "One Symbol per page". When I ran the report, the currency symbol appears on every page but NOT on the first page.
    What can I do to fix this issue?
    Thank you,
    Tanya.

    I need to add that the amounts are Summary fields in the Group section.
    When I tried to use the same currency logic : "Enable Currency Symbol" & "One Symbol per page" on the Detail level - I got the first page with Currency and all other pages without currency symbol.

  • Removing Currency Symbol in PLD & Dot Matrix printer issue

    Hi All
    I need to know if its possible to remove the currency sysmbol on your print out. I'm printing on a pre-printed stationery and the currency symbol makes the lines to overlap.
    Aonther question is , which font format can you select to for printing when you are using dot matrix printer (OKI Microline 3321 9 Pin Printer)
    When its printing it's printing in bold and on the invoice after the second one , it looses the margin setting and prints on the wrong fields.
    Thanks.
    Bongani
    ( South Africa)

    I tested the Amount function and it works perfectly for your need.
    Add a formula field and in the Content Tab insert the Formula as
    Amount(Field_198)
    Here the Field_198 is shown as an example but you will enter the Field number of the amount field which currectly shows with the currency in your PLD.
    For each such amount field you will need a Formula field to remove the currency symbol.

  • € Euro Currency symbol in ActiveSync password not working.

    Are there any known issues when using the € Euro Currency symbol as a password for ActiveSync on an iOS device? It appears ActiveSync does not accept the  € Euro Currency symbol when used in a password sent from an iPad/iPhone.
    Are there any known issues with special characters and ActiveSync?
    Thanks for your help.
    Regards,
    Dennis

    ActiveSync was developed for Windows.  You'd have to know what code page the Windows device was using to make sure you understood how the character should be coded.
    Generally speaking, I wouldn't use any character in a password that didn't have an ASCII code.  We've even had trouble with accented characters.

  • Indian Currency Symbol in PLD

    Iam using SAP 8.8 PL 13. I have downloaded the Indian rupee font and updated the same in System Initialisation->General Setting-> Fonts. Also under setup->Finance->Currency, I have mapped the new Indian currency along with its symbol/code. In my transactions i can see the currency symbol along with the price, but in the PLD I cannot. Foreign currency symbols like Dollar and Pound are visible both at the transactiona level as well as PLD. How to map the new Indian currency symbol in PLD?
    Rgds
    Kalli

    Hi..
    I think you might have taken Variable Field on PLD & try to take Database Field it will show you RS. Currency Symbol
    Regards,
    Bhavank

  • Currency Symbol in Project Server 2007

    Hi,
    Is it possible to change the currency symbol resource wise in Project Server 2007?
    I need a resource rate to be in INR and another resource rate should be in GBP.
    K.Gokulraj

    Yes you're correct. All enterprise resources on server's project will have the currency defined in the server settings.
    Actually the options doesn't mean that more than 1 currency can be used in the projects, but that projects can be published with another currency than the one defined in the PWA server settings. Note also that you'll be warned (see screenshot below) of enterprise
    projects with a different currency due to the fact that it can cause redition issues.
    I'd suggest to convert the non-standard rate into the enterprise currency. You might add a resource custom to give the information on the resource native currency.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

Maybe you are looking for

  • My iPhone 4 (iOS 5.1.1) only lets me take 50 photos before it fills up. My Photo Stream album has 1000 photos in it. Is that preventing me taking more photos?

    The iCloud FAQ seems to say iCloud does NOT automatically physically download and store all its photos back on all your devices, yet I'm sure the reason I can't take very many photos is because iCloud is doing just that....sending photos I already de

  • Can't get iPhone 6 to charge. "This accessory may not be supported."

    Two days ago I noticed my phone would keep getting this message every time I tried to charge it. "This accessory may not be supported." It's the official Apple cable and adapter. I took that same cable/wall adapter and plugged it into my iPad and it

  • My Devour Won't Sync Music Anymore

    I have V Cast with Rhapsody, and i set up my device and even downloaded a few songs and it was working fine. now, when i try to sync music, it tells me it can't connect and to check the USB. well, the usb is working fine because it charges and the Mo

  • Using Sequence in ODI

    Hi I am very new to this tool can anyone tell me how to use sequence and populate Primary key in my Oracle target table. I am doing File to Oracle Mapping. I am using ODI sequence but i am getting errors like: 933 : 42000 : java.sql.SQLException: ORA

  • QM for Vendor Batch

    Hi The requirement is as follows: 1. The QA representative inspects the batch of raw material at the vendor premise     and approves the batch. The batch is for a firm quantity.The batch will vary after a time interval. 2. The QA rep creates an inspe