HELP: Strange Number Formatting Issue

G'day All,
I have a stored procedure which is available via the web which generarates a customer report. I've just noticed that my number fields that have decimal values are being rounded to the nearest whole number.
The SQL that grabs the data to be used in generating this specific table uses TO_CHAR(decimal_field, '9990.00') etc a number of times. example values are:
0.27 becomes 0.00
45.44 becomes 45.00
I've double checked the underlying data and the values definitely have decimal values as the examples I listed above are from. When I run similar queries via the SQL COMMANDs web page the data is correctly formatted. It just appears to be with in the stored procedure.
BUGGER I've just noticed that it is happing on "Report Regions" where I have also used TO_CHAR(decimal_Value, '99990.00') etc.
Does anyone know WTF I've done or not done. I'm pulling my bloody hair out as "IT SHOULD JUST WORK!!" :(
Regards
Mark

G'day Chrissy,
Thanks for you response, I've just logged it the demo application on my local instance of apex v 3.0.1 on Oracle XE and and as you would have it, I cannot for the life of me get the Number Formatting issue to occur at home.
So when I get back into work, I'll give your suggestion a go.
That said, I've modified the DEMO application specifically the TOP 10 Product report using every combination of the TO_CHAR (your way, the ways that I believe I'm using) and it works fine. I've created a new table with decimal values and a new report and it works fine. I even tries putting records with null values in the decimal field, but it worked fine.
I've just switched themes (even though themes have no influence of a dynamically create html page via procedure) annnnnd it works fine.
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!
Just maybe, just maybe it was Friday-itise and when I get in Monday it will just work, unless I get stung by Monday-itise :)
I'll keep plodding along,
Mark

Similar Messages

  • Number format issue in XML Publisher from OAF (',.' is replaced by 'u n')

    Hi All,
    I am facing a problem in XML Publisher report. In report I need to display some number fields with 'USD' format. In RTF, data type 'Number' and format '###,##0.00' is selected. If I run concurrent program from oracle core forms using System Administrator > Concurrent > Request, I am able to get correct number format.
    Ex : 123456.00 After Number format : 123,456.00
    Also its working fine from XML Publisher Administrator responsibility (using Preview).
    But problem is when I submit the concurrent request through OAF, I am not getting correct data. ',' is replace by 'u' and '.' is replace by 'n'.
    Ex: 123456.00 In Report 123u456n00
    Checked profile value : ICX: Numeric Character and its set to 1,000.00 at site level.
    Do I need to set character set anywhere in OAF before calling concurrent program?
    I tried to use "alter session set nls_numeric_character = ',.';" by calling stored procedure from OAF. But still its not working.
    Please give me solution for this.
    Regards,
    Sadanand

    Hell - I am running into the same issue? Did you guys find a resolution for this? Please let me know, would really appreciate your help.
    Thanks,
    Dhiraj
    [email protected]

  • Number formatting issue in Web intelligence report

    Folks ,
    I've an object called ' Serial number' (12 digits long) but when I set this in query filter as a prompt number format gets changed.
    Similar like this:  
    whereas I am expecting to see 123456789123 something like this.
    I made sure that object data type is number while designing universe as well as also format the object ( using format object option) and set as ############. ( 12times #) to forced as 12 digits number.
    When I drag this object in 'result objects' results shows fine but if i add this as 'Query Filters' number gets changed as above pic.
    Any advise ?
    Cheers,
    iTanzir

    Hai Itanzir
    Try to create a dimension variable in universe and choose the data type as string. Please check this and let me know for issues, if any.
    Regards,
    Amala.S

  • Number format issue - comma (1,5) instead of period (1.5) before decimals?

    I am using an input field of data type Number. In Norway we use a comma before decimals. I can't get this to work in VC. Have tried to set Number format with 'Local format' checked but this is not helping. (even if my portal is showing Norwegian texts as supposed by the language setting)
    If I uncheck this and go to Custom formatting I get to set my own format. NSTR(@OPERATORER_N, ".2") gives me two decimals but with a period as the decimal point. NSTR(@OPERATORER_N, ",2") does not work.
    I do not want thousands separator.
    Tips?
    Henning Strand

    Hi,
    Check the se Threads i think you definitly get the idea or solution.
    But every body ask about to get dot separatot instaed of Comma Separator since this can be get easyly with Language Portal Settings
    Thousands separator
    http://help.sap.com/saphelp_nw70/helpdata/en/38/2d9b732beb4c68bba2962602a7d6bd/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/26/64fb472a144a0dbaf88f5ec75d9270/content.htm
    http://oregonstate.edu/dept/computing/warehouse/PDF/8-reports.pdf
    Re: Supressing Currency & Thousands Separator
    Re: Special Number format Mask Visual Compser
    All the best
    Govindu

  • Number format issue

    I just set up my computer to use the Argentine region to display dates, numbers, times, meassures, etc. The problem is that MS-Excel continues to display the comma to separate thousands instead of periods (i.e: 1,056 instead of 1.056) and this is causing me troubles with calculations. Isn't Mac OS X supposed to handle the number format across the system? or does Exel has a mind of its own when it comes to formatting numbers?
    Thanks

    Microsoft always has marched to the beat of their own drummer but I found this in the Excel help that seems to indicate they are at least trying to do things right. Check the Notes section at the end.
    ===============
    • Format values in euro currency style
    Use this procedure to apply a euro currency style to the selected cells. If the cells you want to format contain non-euro values, you instead need to convert the values to euros by using the EUROCONVERT function.
    To use the EUROCONVERT function, you must select the Euro Currency Tool check box on the Add-ins dialog box (Tools menu, Add-ins command). If you do not see Euro Currency Tool listed in the Add-ins dialog box, then you must install the Excel Add-ins component, and then quit and restart Excel. For step 5 (Installation) of the Setup Assistant, expand Office Tools by clicking the arrow next to it, and then select the Excel Add-ins check box.
    1. To display the Formatting toolbar, click View, point to Toolbars, and then click Formatting.
    2. If you don't see the Euro Style button on the Formatting toolbar, click Preferences on the Excel menu, click Edit, and then select the Show Euro tool check box.
    3. Select the cells that you want to format as euro currency style.
    4. Click the Euro Style button.
    Notes
    • If you want to type the euro sign () in a cell, you can do so on a U.S. keyboard by pressing SHIFTOPTION2.
    • The settings on the Formats or Numbers tab on the International pane (System Preferences) determine the position of the euro sign (that is, whether the symbol appears before or after the number and whether a space separates the symbol and the number), as well as the decimal symbol and the thousands separator.

  • Help on Excel Format issue

    HI All,
    I have silly doubt in Excel output of xml publisher
    I am working on xml publisher and output is XLS format.
    In that I have some formatting data issue..
    like.. some columns has lenghty information then the whole data is not displaying in columns.(In generally we do in excel to see whole content in cell using enabling wrap)
    same thing I need to achive .. plz help me in this regard
    here I am using RTF Template.....
    THanks in Advance.
    Ali

    Hi ,
    In the report, for table properties, try to set the Row Height to 'exactly' ,try once that...may be helpful for you .
    and also have the look
    http://download.oracle.com/docs/cd/E10091_01/doc/bip.1013/b40017/T114602T418798.htm#fo_elems
    search for line-related-properties you will find some helpful info.
    Thanks,
    Ananth

  • HELP! display format issues with training

    HELPPPP!!!!
    I am testing this training that I created on my laptop in
    Captivate 3. On my laptop (15"), the display size is perfect.
    However, when I check the training on a larger monitor (21"
    widescreen) the display size is larger cutting off the playlist bar
    (eg. play, stop, back, etc...). To make it worse, their isn't a
    scroll bar to go down.
    I tried changing the resolution but the display screen
    remained constant through all tests. Can anyone please help me?
    THANK YOU SO MUCH IN ADVANCE

    Any chance you can post a screen shot?
    Steve

  • Excel import number formatting

    Hello,
    I'm trying to use sqldev 1.5.4 to import data from an excel spreadsheet, and running into a number formatting issue that I hope someone can help me with. One of the columns in the spreadsheet contains zip codes that I'm trying to import to a varchar2 column in my table, but when sqldev imports them it's trying to format them with a comma in the thousands place. So the zip code "94606" becomes "94,606" in the database. Is there some way to disable this? There doesn't seem to be any option for it in the import wizard.
    Thanks!
    Sean

    Thanks for the suggestion. The format of the zip code column is set to Special (Zip Code) and I have another column, Phone Number, which is doing the same thing despite being formatted as Special (Phone Number), so I don't think it's using that.

  • Number Format Model (Percent Sign)

    Hi all,
    I am hoping that someone will be able to assist me with a Number Formatting issue I'm experiencing using APEX 3.0.1.
    I have a report display a financial amount and a percentage column and I want to display totals for both these columns with appropriate signs - local currency for fiscal amounts and percentage sign (%) for the percent column.
    The financial column is easy as it is included in the seeded number formats available but I don't believe there is a format modifier for the % sign. I have achieved displaying the percentage sign at individual row level by adding #PERCENT#% to the HTML Expression of the Report Column Attribute.
    ......    <Fin Col>   <% Col>
            $1,230.00          0.01%
                $30.55         15.00%
            $1,000.00          3.00%
            $2,263.55          18.01 <-- Missing % sign in sum row
    However the percentage sign does not appear in the calculated sum total row.
    Doing a TO_CHAR in the actual SQL Query for the percentage column means that the sum row always returns 0 (zero).
    Does anyone know how I'd be able to achieve the formatting at a sum row level for the percentage column?
    Kind Regards,
    Gary.

    You mixed both expression in a format.
    G- comma(,)
    D- decimal (.)
    Yours
    select to_char(9693.256,'$0G000.000') from dual;that should be either of this way
    select to_char(9693.256,'$0G000D000') from dual;or
    select to_char(9693.256,'$0,000.000') from dual;i hope you could understand.
    kanish

  • CSV to Excel 2013 - Issue with number format

    Hi,
    I use Excel 2013 to manipulate CSV files. I experienced issue with number format cells. In my CSV file there is one column that presents latitude values in format: 52.05456464. When I open my CSV file in Excel 2013 all values in that column get separator
    ".", in this case my number is present like this: 52.054.454.464. I tried to change my cell format, and when opened the category was Number, I change it to the General but in that case I lost all "." and got 52054454464.
    I also tried to open same file on other machine with Excel 2010 and file is opened correctly without issues and in cell format the category is general by default.
    I hope that there is some kind of resolution for this.

    Hi
    According to your description, we may follow these steps:
    highlight the column B > Home Tab > Number section > Select Number and choose "More Number Format" > Make sure the Negative number is chosen correctly. If you are using Custom format, we will have to change it.
    Hope it helps
    Best regards

  • Street line formating issue (number comes before the street name)

    Hello everyone,
    I have an issue regarding formatting of the street line - when I include an address field (say in Smartforms) the street number comes before the street name. This would be according to USA standards, but I need it to be formatted by the EU standards (street name, and then the number). Also, where ever we have an address attached (SU01, customer/vendor master recs, purchase orders, etc) we get the same issue.
    So, now it is: "1234 MyStreetName", but I need it to come as "MyStreetName 1234".
    I have tried SA10, SA09, OY01 (and all the other customizing I could find), none of which had worked. The strange thing is that in our IDES system, it is displayed as it should be (name - number).
    I can't find where this is preconfigured in IDES, so if anyone can suggest I would be very gratefull + points will be awarded for all the helpfull answers.
    Best regards,
    SD.

    This thread has been moved here:
    Street line formating issue (number comes before the street name)

  • What will i do..there is a message show, "your device in not more eligible to create a free i cloud acount"..and when i try a new one it ask an account number, but i dont have...can you help me with this issue..

    What will i do..there is a message show, "your device in not more eligible to create a free i cloud acount"..and when i try a new one it ask an account number, but i dont have...can you help me with this issue..?
    I try also my old icloud user but its not recognizing the accoun...

    What will i do..there is a message show, "your device in not more eligible to create a free i cloud acount"..and when i try a new one it ask an account number, but i dont have...can you help me with this issue..?
    I try also my old icloud user but its not recognizing the accoun...

  • Number Format Help

    I can't seem to figure this out. I have numbers in the
    following formats:
    5.00
    5.76
    6.894
    I would like to format the numbers like this when they are
    displayed on the page:
    5
    5.76
    6.894
    Which function do i use? I tried number format and it keeps
    rounding the decimals. I feel like an idiot but i can't seem to get
    it to work.

    try #val(n)#
    I'd have expected 5.00 to displays as 5 as a matter of
    course, so it's probably being treated as text...

  • Need help for formatting issues

    Hi all,
    I have sap script, tried to display the item table in Main window but the formatting issue occurs.
    There are eight columns and define the tab positions also for same but still not able to solved.
    Any suggestions welcome,
    Regards,

    Thanks for reply,
    Formatting issue occurs like :
          Serno      City/State     Dept      Customer#      Material   Weight   Quan      Invoice
             1              Delhi DL       PRO     1232121        MAT        10          22          33323 
    it comes like this but not coming to correct places.
    If more info needed then post it again .
    Regards,

  • How do I change the number formatting within a Cell Table in Microsoft Word?

    Hi, I was wondering if someone could help me out on an issue I've been having... I work for an accounting firm and we do a lot of financial statements. 
    I was wondering if we would be able to treat a cell table in Microsoft Word 2007 like I would a cell table in Microsoft Excel. Meaning, I would like to change the formatting of the numbers in the table to the "Accounting" (number) format so it
    aligns by the decimal point and use the $ signs and () for negative numbers.  We do use the link tables feature, however, most of our balancing pages just can't be done in Excel because of the way the text is written. It would be much harder to format
    the text if it were to be typed in Excel. We have also tried  creating an Excel sheet within Microsoft Word but it is the same as linking the tables... Again, a text formatting issue.  The only option is to use tables within Word but how do we change
    the number formatting to a "accounting" (number) format where the numbers would align with the decimal point and use () for the negative numbers. Is there ANY option for us to do this other than manually entering this information in using tabs?  
    If there are no options other than entering it in manually, please consider this as an option for your next software update. I believe that a LOT of people out there will be interested in this feature... My manager and I just attended a webinar on Microsoft
    Advanced Word Tips Tricks and Techniques and 75% of the attending people had this question but no answer.
    Thank you very much for your help!!!!!

    Word does not really have number formatting for table cells. You can align cell contents on the decimal point, though, by setting a so-called decimal tab stop.
    Option 1:
    - Select the cells for which you want to do this.
    - Display the ruler.
    - Click the Tab box on the left hand side of the ruler until the box contains an inverted T with a dot.
    - Click in the ruler where you want the decimal tab.
    Option 2:
    - Select the cells for which you want to do this.
    - Click the arrow in the lower right corner of the Paragraph group on the Home tab of the ribbon.
    - Click the Tabs... button in the lower left corner of the dialog.
    - Specify a tab position in the box, e.g. 1.5".
    - Select the 'Decimal' radio button under 'Alignment'.
    - Click Set.
    - Click OK.
    You will have to type the numbers as they should appear, including the $ for currency and the ( ) for negative numbers.
    Regards, Hans Vogelaar

Maybe you are looking for

  • Adobe AIR Seamless Install Badge PROBLEM

    Hello, my air badge installation stop working few days back (do not know exactly how many). Has anybody else this issue here? Any advice probably. Thanks

  • Different chart for each level hierarchy in report designer

    Is there a way to display a different chart for each level of the hierarchy in a report designer? I want a different chart for each level. That is, if there are 5 nodes in level 4, I want 5 different nodes. Is there a way to do this? I tried to inser

  • Airport express fried? It has a smell and no light

    I noticed in my network that the airport extreme was blinking yellow. It was still working, but when I went downstairs to look at the Airport Express that is part of the WDS network, the green light was off and it was smelling like burnt electronics.

  • OIncomingPayment + BillOfExchange = error -5002 - Invalid dll path or name

    Hi for all,    I´m having a problem when I try to pay a incoming payment from a invoice with BillOfExchange, I´ve been search all this forum for many hours, with all possibile combinations of subject, but any past topic could explain this problem.   

  • Reply arrow in message status missing

    When you reply a message an arrow appears next to the message indicating mail has not only been read, but replied and if you click that arrow you can view your response. This usually works fine, but I wrote an e-mail yesterday responding to one I had