Help with decimal points

hi,
I'm trying to add commas, and 2 digit decimal point after a number. Can someone please help me with this small query.
for example:
63000 -> $63,000.00
15000 -> $15,000.00
2789164.15 -> $2,789,164.15Here is my code:
select  '$'||ADJSTD_AMT
from    finance.bud_lines
where   fyr =2012Thanks in advance

Rooney wrote:
hi,
I'm trying to add commas, and 2 digit decimal point after a number. Can someone please help me with this small query.
for example:
63000 -> $63,000.00
15000 -> $15,000.00
2789164.15 -> $2,789,164.15Here is my code:
select  '$'||ADJSTD_AMT
from    finance.bud_lines
where   fyr =2012Thanks in advancewhen all else fails Read The Fine Manual
http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions201.htm#SQLRF06130

Similar Messages

  • Problem with decimal point in Korea and Japan

    Hi all,
    I have one problem with decimal points.
    I need to change in my out put cuurency values as per japan or korea standards.
    Please help me is there any function module for this one.
    program using alv grid display.
    i use write statement but it is not working. Because
    data: L_AMT  type glpca-hsl,
             G_AMT  TYPE CHAR15.
    CURR this value is 'JPY'.
    WRITE L_AMT CURRENCY CURR TO G_AMT.
    here i need to do
    L_AMT = G_AMT.   "" going to runtime error.
    if i taken like
    data: L_AMT  TYPE CHAR15,
             G_AMT  TYPE CHAR15.
    CURR this value is 'JPY'.
    WRITE L_AMT CURRENCY CURR TO G_AMT.   "" it is not working
    Regards
    margani

    Hello,
    This is pretty basic, whenever you've currency & quantity fields you need to pass the corres. reference fields.
    In your case you need to populate the cfieldname & ctabname fields of the FieldCat.
    BR,
    Suhas

  • Problems with Illustrator CS6 not accepting stroke weights with decimal points

    So I have been using Illustrator for almost 10 years and have never run into this one. When enter a stroke weight on a line with a decimal point like .25 or 4.5 is keeps rounding the number up. For example I enter 0.75 and it makes it 1 point or I enter 5.5 and it makes it 6 point. Whether I enter the number manually or pick from the drop down (0.25, 0.5 or 0.75) it keeps rounding my strokes to even numbers. How did I do and how do I fix it?

    Thanks from me too! Was also very frustrated by this.

  • Conversion issues with decimal points from v5.1.5 to XI

    Several reports which were converted from v5.1.5 full client to XI Webi have numeric differences. When comparing v5.1.5  to XI, the sums on the columns don't exactly match. The cell format on these numbers is set to eight decimal points. When we converted, I noticed the cell format changed from number 0.00000000 in 5.1.5 to custom 0.00000000 in XI. I don't know if this is the reason the sums don't match or if it's something else.

    Hello Ellen,
    as you refer to a Webi problem I recommend to post this query to the [BusinessObjects Web Intelligence|SAP BusinessObjects Web Intelligence; forum.
    This forum is dedicated to topics related to the creation and design of Web Intelligence documents using the Web Intelligence Report Panels. This includes areas such as universe connectivity, prompts, charting, formatting, filters, and formulas.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Webi queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • Help with Null Pointer Exception

    Hi, I am working on a simple menu program. It compiles and works correctly except for one item. I am having a problem with Greying out a menu item...... Specifically, When I press the EDIT / OPTIONS / READONLY is supposed to Greyout the Save and SaveAs options. But, when I do that it displays a Null Pointer Exception error message in the command window.
    Your advice would be much appreciated!
    Now for the code
    /  FileName Menutest.java
    //  Sample Menu
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class MenuTest extends JFrame {
       private Action saveAction;
         private Action saveAsAction;
         private JCheckBoxMenuItem readOnlyItem;
       // set up GUI
       public MenuTest()
          super( "Menu Test" );
    //*   file menu and menu items
          // set up File menu and its menu items
          JMenu fileMenu = new JMenu( "File" );
          // set up New menu item
          JMenuItem newItem = fileMenu.add(new TestAction( "New" ));
          // set up Open menu item
          JMenuItem openItem = fileMenu.add(new TestAction( "Open" ));
              //  add seperator bar
              fileMenu.addSeparator();
          // set up Save menu item
          JMenuItem saveItem = fileMenu.add(new TestAction( "Save" ));
          // set up Save As menu item
          JMenuItem saveAsItem = fileMenu.add(new TestAction( "Save As" ));
              //  add seperator bar
              fileMenu.addSeparator();
              // set up Exit menu item
          JMenuItem exitItem = new JMenuItem( "Exit" );
          exitItem.setMnemonic( 'x' );
          fileMenu.add( exitItem );
          exitItem.addActionListener(
             new ActionListener() {  // anonymous inner class
                // terminate application when user clicks exitItem
                public void actionPerformed( ActionEvent event )
                   System.exit( 0 );
             }  // end anonymous inner class
          ); // end call to addActionListener
    //*   Edit menu and menu items
              // set up the Edit menu
              JMenu editMenu = new JMenu( "Edit" );
              //JMenuItem editMenu = new JMenu( "Edit" );
          // set up Cut menu item
          Action cutAction = new TestAction("Cut");
          cutAction.putValue(Action.SMALL_ICON, new ImageIcon("cut.gif"));
          // set up Copy menu item
          Action copyAction = new TestAction("Copy");
          copyAction.putValue(Action.SMALL_ICON, new ImageIcon("copy.gif") );
          // set up Paste menu item
          Action pasteAction = new TestAction("Paste");
          pasteAction.putValue(Action.SMALL_ICON, new ImageIcon("paste.gif") );
              editMenu.add(cutAction);
              editMenu.add(copyAction);
              editMenu.add(pasteAction);
          //  add seperator bar
              editMenu.addSeparator();
              // set up Options menu, and it submenus and items
              JMenu optionsMenu = new JMenu("Options");
              readOnlyItem = new JCheckBoxMenuItem("Read-only");
              readOnlyItem.addActionListener(
                   new ActionListener()
                   {  //  anonymous inner class
                        public void actionPerformed( ActionEvent event)
                          saveAction.setEnabled(!readOnlyItem.isSelected());
                          saveAsAction.setEnabled(!readOnlyItem.isSelected());
                }  // end anonymous inner class
              ); // end call to addActionListener
              optionsMenu.add(readOnlyItem);
              // add seperator bar
              optionsMenu.addSeparator();
              //  Work on Radio Buttons
              ButtonGroup textGroup = new ButtonGroup();
              JRadioButtonMenuItem insertItem = new JRadioButtonMenuItem("Insert");
              insertItem.setSelected(true);
              JRadioButtonMenuItem overTypeItem = new JRadioButtonMenuItem("Overtype");
              textGroup.add(insertItem);
              textGroup.add(overTypeItem);
              optionsMenu.add(insertItem);
              optionsMenu.add(overTypeItem);
              editMenu.add(optionsMenu);
    //*   Help menu and menu items
              // set up the Help menu
              JMenu helpMenu = new JMenu( "Help" );
              helpMenu.setMnemonic( 'H' );
          // set up index menu item
          JMenuItem indexItem = helpMenu.add(new TestAction( "Index" ));
          indexItem.setMnemonic( 'I' );
          helpMenu.add( indexItem );
              // set up About menu item
          JMenuItem aboutItem = new JMenuItem( "About" );
          aboutItem.setMnemonic( 'A' );
          helpMenu.add( aboutItem );
          aboutItem.addActionListener(
             new ActionListener() {  // anonymous inner class
                // display message dialog when user selects Open
                public void actionPerformed( ActionEvent event )
                   JOptionPane.showMessageDialog( MenuTest.this,
                      "This is MenuTest.java \nVersion 1.0 \nMarch 15, 2004",
                      "About", JOptionPane.PLAIN_MESSAGE );
             }  // end anonymous inner class
          ); // end call to addActionListener
          // create menu bar and attach it to MenuTest window
          JMenuBar bar = new JMenuBar();
          setJMenuBar( bar );
          bar.add( fileMenu );
              bar.add( editMenu );
              bar.add( helpMenu );
          setSize( 500, 200 );
          setVisible( true );
       } // end constructor
       public static void main( String args[] )
          MenuTest application = new MenuTest();
          application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
       // inner class to handle action events from menu items
       private class ItemHandler implements ActionListener {
          // process color and font selections
          public void actionPerformed( ActionEvent event )
           repaint();
          } // end method actionPerformed
       } // end class ItemHandler
       //  Prints to action name to System.out
      class TestAction extends AbstractAction
              public TestAction(String name) { super(name); }
          public void actionPerformed( ActionEvent event )
             System.out.println(getValue(Action.NAME) + " selected." );
       } // end class TestAction
    } // end class MenuTest

    alan, I've been trying to figure out a solution.
    You can initialize it like this
    private Action saveAction= new Action();
         private Action saveAsAction=new Action();
    THE ABOVE WILL NOT WORK.
    because Action is an interface. An interface does not have constructors. However, interface references are used for polymorphic purposes.
    Anyway, all you have to do is find some class that implemets Action interface.... I cant seem to find one. Or maybe this is not how its supposed to be done?
    Hopefully, someone can shed some light on this issue.
    FYI,
    http://java.sun.com/products/jfc/swingdoc-api-1.1/javax/swing/Action.html

  • Help with starting point for "proof of concept" integration

    We are a third party application provider and are attempting to figure out how to do a "proof of concept" integration with SAP.  We are not looking for "certification".  Our product does not appear to fit any of the standard certifications for integration and our experience integrating with other systems indicates that no two integration will be identical.
    We are looking to do a simple integration scenario with an SAP system so we have some basic experience doing it, can say 'Yes" when asked if we have done it, and can create a video showing a transaction being done in SAP and our system also updating (and ideally the reverse).
    Our starting point with respect to SAP knowledge is "0".
    Our basic task list (we think) goes something like
    1.  Figure out the version and modules of SAP with which we should be integrating
    2.  Get access to an SAP system (do we rent, is there a developer/evaluation, ...)
    3.  Put some data in the test system (is there a "sample data" set?)
    4.  Figure out the SAP transactions that map to the business process in which we are interested (moving goods in and out of a distribution center/ware house - are there some "standard business process guides")
    5.  Integrate (we are a .NET web based application so we are guessing this means use the ".Net Connector")
    Could anyone point out any resources (white papers, links, people, places to find people,...) that might be a good starting point?
    Thanks,
    John

    Athol,
    We are looking to recieve notifications out of SAP as tractor trailers at a dock are filled as proof on concept.  The actual integration scenarios we do are more complex and do not match well with any of the pre-packaged certification scenarios.  The real world integration scenarios actual vary substantially from customer to customer in terms of the integration points between systems.
    As we have become more marginally knowledgable about SAP, I think we will end up receiving and sending "IDOC" messages from SAP but have no idea what those IDOC messages are or where to start looking for what a "standard" (if there is one) message SAP would generate in reaction to whatever the "trailer is loaded" transaction is.
    To figure out what the transaction is, I assume we need to identify what version of SAP we should be targeting for a simple integration.  Are there any could references on what the commonly integration methods are and to which versions they apply?
    Something like "hey, if you do an integration with a IDOCs in with SAP Netweaver 2004 then that would good proof you could integrate with 90% of the installed SAP base".  Of course, any links explaining what the versions of SAP are and where they are in there lifecycle and what people are actually using would be helpful.
    John

  • Dual layer DVD, help with break point

    after reading alot of the previous posts on setting a dual layer break point, it seems the best way is to find the general area of where one thinks the break should be and then put in several markers in that area. My question is what type of markers to put in (ie. chapter, button highlights, dual layer break point)? Should i be able to put more than one Dual Layer break point? DVDSP is only allowing me to set ONE Layer Break Point out of the several points that i put in the area i think that the layer break should be, am i doing something wrong? Also, to avoid this whole trial and error process, can i simply do my "build" without any markers/break points and then burn the VIDEO_TS folder in Toast and let Toast find the break point? By the way, this disk will be replicated in case anyone forsees any problems with Eclipse, thanks for any help!

    If after building only one marker is black (not gray) it is the only legit marker and why it is limited. The layer break will be on the DLT where it is set
    I had one project that took quite awhile to find a place to put the marker to get a legal DL break point
    http://discussions.apple.com/thread.jspa?messageID=4032103&#4032103

  • Need Help with Cue Points/Custome Code

    So I've figured out that videos with a playback component need cue points in order to set up all the interactivity I want to use. The only way to make animated graphics, interactive graphs and text is to apparently create custom code, which I no zip about.
    Should I hire someone to do that for me? I was thinking elance, but does anyone have any suggestions on how to make an interactive video other ways (or cheaper)ways.
    p.s
    how much do you think I should charge for that:)?

    My advice... start with a very simple "proof of concept" project before you attempt the entire package.
    It will be much easier to scale up if you first have a very good understanding of what's going on.
    So one simple video with just one cuepoint and only one button and additional display. You'll also have to work out the interaction of pausing the video when a cuepoint is reached or button pushed to display the graph, giving the viewer time to read the graph... then when the viewer closes the graph, the video should "resume".
    Start very simple and build on that only after you understand the fundamentals.
    Second, you mention "video reports"... plural. So that most likely means that you will need a video player with a "playlist".
    This may mean that you'll need to learn to use a little .xml to bring in the playlist data. You may also find xml an excellant way to bring other data into you project.
    At the link listed above there is an excellant tutorial on "Integrating Flash and XML"
    "Flash and XML"
    "XML Video Playlist"
    "ActionScript 3 XML Basics"
    "ActionScript 3 Advanced XML"
    Personally I would not even begin a project like this without considering how I could use xml to feed data into the project.
    Here's an example of a video player I created that has a playlist, thumbnails, categories, transcipts, "Now Playing" etc. All that data comes into the main .swf via various xml files. Super good way in input data into Flash.
    http://www.drheimer.com/video/
    Yours is a rather ambitious project and will take awhile to gain the skill and assemble the pieces. So when you come to a new part... first create a real simple "proof of concept" model so you can learn how that section works. Don't expect to be able to assemble the entire project all at once.
    Best wishes,
    Adninjastrator

  • Need help with power point program

    I need an app that will allow me to use a power point presentation that links between several .ppt files.

    Keynotes does not allow a presentation to link to another presentation(unless I missed some think)
    Just got quickoffice and having the same issue

  • Help with Multi point chart plot hile using the waveform data type..

    Currently I have two channels being transfered into the AI C-Scan block (by means of a build array) in hopes to display the outputs on a chart as well as an output file. As an outout I am using the waveform data type, as I hear this is the way to go. Problem is that I have the the Waveform chart directly connected to the waveform out put the the AI C-SCAN block but nothing is being displayed on the chart. Although the time is updated on the chart it is listed as the year 1903. I do have data these channels as the there are digital outputs for these channels. Perhaps I should use the AI CONFIG and AI READ clocks rather than this AI C-SCAN. Any ideas...

    Christian,
    Please see the Real-Time Chart shipping example for LabVIEW. This example describes how to set the base time of the chart so that the time and date are correct.
    You may want to autoscale the Y-axis as your data may be out of range of your chart and that is why nothing is seen.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Different decimal point character for numeric limit test vs multiple numeric test with database logging

    Hi all,
    I have a problem with decimal point character and database logging.
    I've deselected "Use Localized Decimal Point" in Station Options->Localization. Teststand should now use "." as decimal point character (ignore the "'s).
    When logging to database this is only true for Multiple numeric limit test results, not for Numeric limit test results.
    Numeric limit test results use "," as decimal point character where it should be "."
    I can't trust the localization settings on the PC as different endusers might have different settings.
    Example:
    (STEP_NAME and PROP_RESULT.DATA)
    Numeric limit test 1,50127667932332
    Multiple numeric limit test result_1 1
    Multiple numeric limit test result_2 1
    Multiple numeric limit test result_3 10.0304317
    I've changed the Limits->Numeric format for each test but this change is only applied to the report, not the database result.
    Read the manuals but didn't find anything...
    Have I missed something obvious, or is this some kind of bug?
    Teststand version is 2010.
    Windows versions are XP SP3 and Win7. Same behavior on both OS.

    When something is logged to the database as a number, the database is probably storing it in a way that is independent of any sort of decimal point localization. When you view the items in the database however it is probably going to show you the number based on the current locale settings. This is likely purely cosmetic, for display purposes.
    -Doug

  • Sql loader & decimal point

    Hello,
    I need to import data with field containing floating point number. When I do this load on linux it goes ok. But when I try to load the same data from my windows there is problem with decimal point character. (My oracle server is 9i on linux).
    I trid to use after logon trigger to issue statement alter session set nls_numeric_characters (enclosed in execute immediate statement) but it don't helped me.
    Thanks for advice
    sasa

    ok.
    I have following values in file to import:
    45.5
    50.3
    60.2
    38.7
    ("." is decimal point)
    If I use sqlldr on linux it is imported correctly. If I try to to import data from windows machine I get error message ORA-01722: Invalid number. So somewhere on my windows machine is set another decimal separator and i would like to change it to ".". But i don't know where I can change it.
    Is it more understandable?

  • Set No Decimal Point for Quantity in Any Stock Movement.

    Hi experts,
    Can anybody tell me how to block user from entering qty with decimal point in any stock movement that they plan to do. Our current system setting allowed user to do goods issue with decimal quantity such as 1.25 Unit.
    Regards.

    Hi Sujiana,
    If you dont want to decimals i think one option is availble is it correct or i dont know.why dont you try onece for this
    Go to logistics general ->Quantity optimizing and allowed logistics units of mesure->unit of measure rounding rule
    do here round to your unit
    i think it may be helpful to you
    Prem

  • Function module to get the decimal point and leading zeros.

    Hi
    I have a requirement, where I need to add zeros at the end and beginning of the field along with decimal point.
    For Eg:
    input = 123
    output = 0123.00
    depends upon the requiremnt,number of decimals will vary
    If anyone knows function module for this  requiremnt  or how to proceed with this, Please give me reply
    Thanks&Regards
    Rama.Mekala

    hi
    use this Fm
    'conversion_exit_alpha_input'
    PP_CATT_CONVERT_DECIMAL_POINT
    for decimal points
    Cheers
    Snehi
    Edited by: snehi chouhan on Jun 23, 2008 9:28 AM

  • Do NOT display decimal points for 1 currency

    Dear Friends,
    i have a report which shows the revenue of all countries. we have a target currency (variable) in the report.if we give that target currency as EUR, it changes al currencies into EUR. similarly if we give USD, the report will change all currencies to USD with decimal points
    But the requirement here is, for all other countries, the decimal points shud get displayed for the revenue, but only for Korea curreny (WON) the decimal points shud not be dispayed.
    in the table TCURC, for Korea it is maintained as " whole numbers only ".
    is there a way to achieve this??
    Rgds.,
    ASha

    Hi Yogesh,
    Thank you for ur reply.
    in the report, i have 10 keyfigures. 4 are being picked up from the report and they have currency translation variable. The rest 6 are formulas. On these formulae, i restricted the decimal display to "nothing defined". it works fine for all the 6 formulae. for WON it does NOT show decimals and for the rest of the currencies, it shows decimals.
    but how this can be achieved on the 4 direct keyfigures??
    Rgds.,
    ASha

Maybe you are looking for

  • Memory upgrade on Satellite A350-10I

    I have a Toshiba satellite A350 10I.I would like to expand the memory RAM which is 2x2Gb ddr2 800MHz. Can be changed with ddr3?The motherboard will support?

  • How can i find my icloud ID

    how can i find my icloud ID ?  i had upgraded my iphone4 to IOS7 and created an Icould ID, after couple of months my phone was restored and when i am trying to  use my iphone4 it is asking me for icloud ID please see the exact message in bracket (Thi

  • Different colored screens

    Hello, both my friend and I own Iphone 4's. When we look at our screens, they look completely different. His has a very visible yellow tinted screen, and mine is more 'white' looking. I will post an image as soon as I can, but is this normal? Why are

  • How to maintain Entries for VIEWS in ORacle Sql developer

    hi gurus, Could you please help in maintaining an entries for VIEW is Oracle SQL develope...I have created a VIEW by name SD_WH08....now i need to maintain some entries in this for my testing purpose...how do i do this? Your help is very much appreci

  • About process component , service interface

    Hi all, what do process component and service interface mean? why and when do we need process component and service interface? when we generate the code in NWDS, it will generate a interface class that standing for service interface in ESB, do it? ho