Custom currency format

Hi All,
I have currency field which needs to be formatted as below :
- The last two positions of a dollar amount field are considered as cents and no decimal points.(ie: 100 = 1.00)
- Trailing zeros are required for amount fields in order to properly indicate cents (i.e. 100 = 1.00 or 10000 = 100.00).
- No dollar sign is required
Ex:
- Amount 1 : $9375.00 should be display as 937500
- Amount 2 : $1037.32 should be display as 103732
I have tried this custom format "###0.00" which only removes the $ sign but unable to include last two digits as cents without dot symbol.
Any suggestions would be appreciated.
Thanks,
Rameez Shaikh

You can't use string operators on numeric fields, and the decimal point is part of the formatting, not the value itself - hence you couldn't "replace" it anyway -  you format to a round number.
You need to convert the number to a string first:
=Replace(""+FormatNumber([Number];"0.00");".";"")
The problem with this is that you then lose all calculation capability; therefore, I would advise to apply the above as an alerter or conditional formatting - that way the underlying value is retained, but the presentation is as required.
HTH
NMG

Similar Messages

  • How to use custom label formats to display currency and percentage

    Hi There,
    I need a pie chart to display both currency and percentage. I have the cell format editor open for custom cell formats (from the pie chart label format menu) but am not sure how to write the expression.
    I've tried something like this but get an error:
    $ #,###  -  % #,###
    How can I display both currency and percentage for the same label?
    Any pointers in the right direction would be much appreciated.
    Cheers
    Ben

    labels built into Keynote can be displayed as percentage or value, not both
    The choice is made in:   Inspector > chart > series > data point settings
    the work around is to manually add text boxes with the currancy value entered in each box, as in $2.00

  • Smartforms Currency format wrongly printing

    Hi All,
      I'm facing a problem with printing the amount field on Smartform.
    I also tried it display in Document currency format eg.,
    In the document amount displayed like 1,234.56 (in a standard transaction)
    When printing on the form it displayed like 1.234,56
    I also checked my user settings in SU3 it is like 1,234.56 format only.
    When i checked it in Debug mode the Amount is showling 1,234.56 correctly.. till it reaches to form end but while displaying it changing the format.
    Any suggestion ? please help.
    Thanks in advance.
    -Kiran

    Hello,
    If you print an invoice, the print program RLB_INVOICE usually reads the country of the customer.
    This is the reason why the decimal notation is not correct.
    See please the T-code OY01 also.
    This is the standard customising of SD. A customer from country e.g. OMAN (OM)
    gets number like 332.500,00 and a customer from GB gets 332,500.00.
    If you really need to modify the decimal format, you can add the command SET COUNTRY 'EN' in
    your Smartforms. So the effect of a change of the decimal format is a cosmetic one only.
    Via debug you can change  the value of the field IT_HD_GEN-DLV_LAND to EN.
    Check the following code part in include RLB_INVOICE_FORM01 sample code:
    get delivery land
      PERFORM GET_DLV-LAND USING    CS_BIL_INVOICE-HD_GEN
                           CHANGING CS_DLV-LAND.
    CS_DLV-LAND = OM.
    Regards,
    David

  • Currency formating with pattern specified

    Hi,
    I am trying to format value with Currency,in which I am successful.
    Now I want to apply some specific pattern over a number and then
    it should give me Currency formated value.
    For e.g.
    My value is "5000.25"
    I apply patter formating over it like #,##,#.00
    I convert it into currency so I should see in (US Locale)
    $5,00,0.25
    In below code I can achive either of them If I comment
    "applyLocalizedPattern" method.
    import java.text.DecimalFormat;
    import java.util.Locale;
    import java.text.*;
    import java.util.*;
    import sun.text.resources.LocaleData;
    public class CurrencyFormat
         public static void main(String args[])
              NumberFormat useFormat = NumberFormat.getCurrencyInstance(Locale.US);
              DecimalFormat dc = (DecimalFormat) useFormat;
              DecimalFormatSymbols symbols = new DecimalFormatSymbols(Locale.US);
              double amount = 5000.25;
              symbols.setCurrencySymbol("*");
              dc.applyLocalizedPattern("#,#,#,#.00");
              dc.setDecimalFormatSymbols(symbols);
              System.out.println(useFormat.format(amount));
    }

    if you define a custom format that doesn't include any currency sign like "#,#,#,#.00", the currency sign is not added... to make it use the currency sign as per the docs "\u00a4 #,#,#,#.00"dc.applyLocalizedPattern("\u00a4#,#,#,#.00");

  • Currency format based on selected operating unit

    Hi all,
    In My custom page i have a operating unit lov in header section.below of the page i have hourly rate text box.when user enters the amount and tab out it should be changed to the above selected operating unit currency format.please tell me your suggestions
    Thanks in advance
    Ganga

    Ganga,
    when user enters the amount and tab out it should be changed to the above selected operating unit currency format.please tell me your suggestionsIs Operating Unit is a LOV .. If yes then handle the Lov event in the controller & change the currency Format. what is the exact problem u r facing.
    Regards,
    Gyan

  • Custom Number Format With Leading & Trailing Zeros

    Hi!
    How can I define following number format in Apple Pages (v3.5)?
    Positive numbers: +#'##0.00 (e.g. +0.30 or +5'000.00)
    Negative numbers: -#'##0.00 (e.g. -0.30 or -5'000.00)
    If I create a custom number format and enable Show Trailing Zeros, the leading zero is not shown (e.g. +.30 instead of +0.30). Number format with Thousands Separator enabled comes closest to what I need, but misses the plus sign for positive numbers (which I need to represent differences).
    Any ideas? Thanks in advance for your help!

    Hi Tuna,
    Maybe the currency format would work for you,
    The plus sign is problematic. With the above your negative numbers will be red and in brackets, positive numbers will be black. You could use conditional highlighting to change that.
    quinn

  • Custom Data Format

    I am using the new version of numbers and cannot find an option for custom data format. Has it been removed or am I missing something? Can someone point me out where it is? Either that, or let me know how to get a bigger currency list as the currency I am wanting is not there.

    Hi Cullen,
    Thank you for this workaround. I did as you said, and it works, unlike copy and paste from Numbers 2.3 to Numbers 3.0 .
    In Numbers '09 (version 2.3) I created two Custom formats.
    Column A is the inbuilt Date and Time format showing only the Date (my region's date format is Day Month Year).
    Column B is a Custom Format to show short Month, space, short year.
    Column C is the inbuilt format for Number.
    Column D is a custom Format to show leading zeroes.
    Then I did as you said and saved the Numbers 2 document (as a document for future use, not as a Template, because I am not sure how Templates are shared between the two versions on Numbers).
    Then File, option key > Save As... a new name to preserve my original from harm by Numbers 3.0 .
    In Numbers 3, (as you said) open the spare copy and the Custom formats are indeed listed. Format Inspector > Cell > Data Format
    And they do work. Here is where I edited the cell content by entering new values from the keyboard:
    I shall place a link to this thread on the thread named "Workarounds in Numbers 3.0?"
    https://discussions.apple.com/message/23622372#23622372#
    Thanks for this.
    Regards,
    Ian.

  • In Scripts how to print the values in currence format

    Dear abap guru's,
    I am working on Purchase Order Script, copy from the standard script, after that wrote a one perform , in that added one new field to script, but value is printed like this formate : 1000.00, but i want to print 1,000.00 like this currence format. let me know the any solution
    thanks to all
    raj.

    Hi ,
    When you are populating the value in perform instead of assigning the value (using = ) pass it using WRITE TO.
    Like :  WRITE lw_total TO output-value.
    Declare lw_total as currency field.
    Regards,
    Rajitha.

  • Not able to save date column with custom date format. in OBIEE 11g

    Hi,
    I have migrated one report from OBIEE 10g to 11g. There is a date column with customized date format(i.e. Default format is 'dd-MMM-yyyy' and I have used 'MMM-yyyy').
    But when I use this custom format and try to save the report in 11g its giving this below error.
    ''Catalog object privilege validation failed for user to path /shared/ALM BI/Finacial Results/History Income Statement Detail.
    You do not currently have sufficient privileges to save a report or dashboard page that contains HTML markup.
    This HTML might be present in column headings, table headings, text views, narrative views, the print header,
    or the print footer and must be removed before saving.''
    Please let me know what changes I need to do for this.
    Regards,
    Ambika Nanda.

    Hi ,
    privilage issues...check the security settings once..
    Thanks,
    Ananth

  • "Output could not be issued" when using custom page formats

    Dear all,
    I created a custom page format using SPAD. Its dimension is 7.5cm x 10cm (190mm x 254mm). I also created this page format in windows and set as the default paper size in my printer. However, when trying to print a smartform using this size, the message "Output could not be issued" is given. When I use the standard paper sizes (e.g., LETTER, DINA4), the form prints OK.
    Can you point me to the direction to solving this?
    Thank you!
    Kyle

    Issue resoved.
    For those who are encountering the same problem, here's what I did. I tested the smartform by itself and it reported the specific error: the page format is not supported in device type SWIN. I added it in another device type SAPWIN. This was just a simple miscommunication between the admins and the developer. I added the format in SWIN and everything works fine.
    Kyle

  • Currency format in LAC

    Hi,
    We are working with LAC, and we have an issue.
    When we create an auction in SRM the currency format for the start price and the others is 1,234,567.89 (this is correct for us), but when we execute the applet (LAC) the format change 1.234.567,89
    The user in SRM has the correct format 1,234,567.89 then, Why in the applet the format is different????
    How can we change the format????
    We are working with EP then, we execute the transaction  bbp_auction since a Portal iview. Our single sign On between LAC and Portal was configurated, then we guess, we need to change the currency or number format in the Portal User, Is that correct?????
    What user do we need to change (currency format)????   SRM user????  Portal user???? LAC user????
    Thanks

    Hi Claudia,
    Check the following note :
    Note 666849 - Running LAC in non-US locales
    This may help you.
    Thanks,
    Pradeep.

  • Can't see HTML and Custom text format under data format tab in obiee.

    Hi,
    I want to add a java script to my report but I can't see HTML/Custom text format option under Data Format Tab--->"Treat Text as" menu.
    My report is a union report.
    For data column and numeric columns i can see custom option available but for text columns it is not visisble.
    Any idea why it is not showing and what should be done here.
    Any pointers are welcome.
    Please help,it is really urgent.
    Thank in advance!
    Edited by: 810008 on May 18, 2011 10:03 PM

    Hi,
    Select text column (varchar column) -> Treat Text as -> custom text format ->Remove @ (default) -> add [html]<script>sometext(‘@’)</script> followed by your javascript
    for eg:
    [html]<script>buildGoogleChart(‘@’)</script> <head> <script type="text/javascript"> function show_alert() { alert("Hello! I am an alert box!"); } </script> </head> <body> <input type="button" onclick="show_alert()" value="Show alert box" /> </body> </html>
    hope helps u.........
    cheers,
    Aravind

  • Help needed to display character vaiable in currency format

    Hi Friends
    In a SAP Script I am passing a currency field to the subroutine as an i/p parameter and since it gets converted to character format in subroutine because of 'itcsy' , ihave deleted the trailing zeroes and decimal points from the field and performed calculations on the field, now i need to pass this char field back to SAP script but i need to display that field in currency format with commas and decimal points in the script...how do i do that???
    Thanks
    Vishal.

    Hi Vishal,
    When you pass the currency amount into the perform, no need to remove the trailing zeros and the decimal point.
    Only thing you need to remove is the comma seperator as it gives a runtime error during calculation.
    To convert it back to the format with comma, write the below command:
    WRITE v_Item_total currency '2' to v_item_char.
    CONDENSE v_item_char.
    Here v_item_total is a number which is converted to comma seperated number and passed to char variable.
    This char variable is then passed to the SCRIPT.
    regards,
    Gaurav.

  • Has someone knowlege of how to use Custom Number Format in Numbers V3.0

    Hello Everyone,
    From Excel to Numbers '09 I worked with Custom Number Format.
    Making formats like 60 sec, km/h or m/s².
    In the new Version 3.0 it is not under 'Format'/Custom Number Format.
    I did not find it! Has someone found a way to do it the old way.
    I am working with the German version.
    Bye

    Limmy,
    There is no option in Numbers 3.0 for Custom Format. If that is mandatory for your purposes, it is still available in Version 2.3.
    Jerry

  • How to use currency format set

    Hi All,
    I have to use currency format set to mask the amount values to their respective currencies ,
    i reviewed the Oracle XML Publisher Administration and Developer's Guide and followed all the steps mentioned there ,i m also quoting the same over here
    To define a Currency Format Set:
    1. Navigate to the Currencies page under the Administration tab. Select Create
    Currency Format Set.
    2. Enter a Name and a Code for the set. The Code is a unique identifier and cannot be
    changed later. Select Apply.
    3. The Currency Formats page will display for your newly created set.
    To add currency formats to the Currency Format Set:
    1. Select Add Currency Format to add a format to your set.
    2. Select a Currency Name from the list.
    Note: This list is generated from the FND currency table and
    should include all ISO currencies. Additional currencies can be
    added from the System Administrator responsibility.
    3. Enter the Format Mask you wish to use for this currency and select Apply.
    The Format Mask must be in the Oracle number format. The Oracle number format
    uses the components "9", "0", "D", and "G" to compose the format, for example:
    9G999D00 where
    9 represents a displayed number only if present in data
    G represents the group separator
    D represents the decimal separator
    0 represents an explicitly displayed number regardless of incoming data
    See Using the Oracle Format Mask, Oracle XML Publisher Report Designer's Guide for
    more information about these format mask components.
    After a currency format has been created, you can update or delete it from the Currency
    Formats page.
    i followed all the above step ,i need to use germany currency ,i have also used the format-currency command in my RTF template,but still its not working ,i used 9G999D00 for masking .
    Any hint would be very helpful ,thanks in advance .Please let me know if my question is not clear
    Thanks
    Pratap

    hi all
    Thanks ,this is resolved ,i just missed clearing cache ,after clearing the cache its working .
    thanks
    Pratap

Maybe you are looking for

  • Portege M800 - System hangs after fingerprint login

    I just got my Portege M800 weeks ago and frankly speaking, this model has been giving me much trouble. Earlier it is the heat problem at the palm rest and there is no solution to it. Now I am facing another issue with the fingerprint login. I am runn

  • IPod Not Being recognized in iTunes and hangs in iPod Update

    My Shuffler was working fine this morning, then I took it to work and plugged it in a new computer. This time, however, it was not recognized by iTunes. Windows caught it as a USB Mass Storage Device and it shows in My Computer as a Removable Drive.

  • Doubt in ABAP Data types

    Hi friends, I want a clear idea of what is the diference between data type 'f' and 'p' with examples and in what situation which should be used. Similary what and where is 'x' and 'xstring' is used .. In what situations we 'll handly BYTE data ?????

  • B2B EDIFACT over Internet AS2 - 5081: XEngine error - Invalid guideline.

    Hi, When get message from TP on EDI EDIFACT over Internet AS2-1.1 - INVOIC Get an error: "5081: XEngine error - Invalid guideline." Version: Oracle Application Server Integration B2B, Release 10.1.2, Build B2B_10.1.2.4.0_GENERIC_091027. Log: 2012.03.

  • Best size for SSD boot drive?

    Hi, I am looking to replace my optical drive from my iMac 27" with an SSD to be used as a boot drive and to hold my applications for faster loading etc.. I was wandering what would be the best size for a boot drive so that I dont overspend as SSD's a