Xmlforest returns me a number with a comma instead of a dot

Hi, i have this problem. I don't know what to do to solve it.
select to_number('4,5') from dual
-- 4.1 (it's what i want)
select xmlforest(to_number('4,5') "damm_number") from dual
--should give <damm_number>4.5</damm_number> but doesn't
Ya it seems simple until it happens to you eheh :S damm
Cheers!

This is an NLS issue
(http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions191.htm#i79512).
SQL> select to_number('4.5') from dual;
TO_NUMBER('4.5')
             4.5
1 row selected.
SQL> select to_number('4,5') from dual;
select to_number('4,5') from dual
ERROR at line 1:
ORA-01722: invalid number
SQL> alter session set NLS_NUMERIC_CHARACTERS = ',.';
Session altered.
SQL> select to_number('4,5') from dual;
TO_NUMBER('4,5')
             4,5
1 row selected.
SQL> alter session set NLS_NUMERIC_CHARACTERS = '.,';
Session altered.
SQL> select to_number('4,5') from dual;
select to_number('4,5') from dual
ERROR at line 1:
ORA-01722: invalid number
SQL> select to_number('4,5','99.9','NLS_NUMERIC_CHARACTERS = '',.''') from dual;
TO_NUMBER('4,5','99.9','NLS_NUMERIC_CHARACTERS='',.''')
                                                     45
1 row selected.

Similar Messages

  • Returns wrong row number with ENTER key in JTable...

    I am having a problem to get exact row number ofJTable when ENTER key is pressed.
    table.getSelectedRow() always retuns one more value when ENTER key is pressed(fired). like
    if i have 5 rows in a table and when my focus is on 1st row and then i press enter key focus moves to next row and it returns 1 instead of 0 for the 1st row.
    I have written a code bellow, please check it out and tell me why it happens. Please click on Add Row button for creating rows in table.
    import javax.swing.*;
       import javax.swing.table.*;
       import java.awt.*;
       import java.awt.event.*;
       import java.util.Vector;
       class TableTest extends JFrame {
         MyTableModel myModel;
         JTable table;
         JButton button;
         JButton buttonQuery;
         int count = 0;
         public TableTest() {
           myModel = new MyTableModel();
           table = new JTable(myModel);
           table.setPreferredScrollableViewportSize(new Dimension(500, 200));
           JScrollPane scrollPane = new JScrollPane(table);
          table.addKeyListener(new KeyAdapter(){
              public void keyTyped(KeyEvent ke)
                if(ke.getKeyChar() == ke.VK_ENTER){
                  System.out.println(table.getSelectedRow());
           getContentPane().add(scrollPane, BorderLayout.CENTER);
           getContentPane().add(button = new JButton("Add Row"),
           BorderLayout.SOUTH);
           getContentPane().add(buttonQuery = new JButton("Query"), BorderLayout.NORTH);
           button.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
          Object [] aRow = new Object [8];
         String aRow1;
         for (int i=0; i<5; i++) {}
         myModel.addRow(aRow);
       buttonQuery.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e) {
           System.out.println(myModel.getRowCount());
           System.out.println(myModel.getValueAt(1, 3));
       addWindowListener(new WindowAdapter() {
         public void windowClosing(WindowEvent e) {
           System.exit(0);
       class MyTableModel extends AbstractTableModel {
       protected final String[] headers =
       { "No", "Vehicle No", "Date of Loss", "Image Type", "Image Description", "Claim Type", "Scan Date", "User Id" };
       Vector data;
       MyTableModel() {
        data = new Vector();
       public int getColumnCount() {
         return headers.length;
       public int getRowCount() {
        return data.size();
       public Object getValueAt(int row, int col) {
       if (row < data.size() && col < 8) {
         Object [] aRow = (Object []) data.elementAt(row);
       return aRow[col];
       } else {
         return null;
       public void addRow(Object [] aRow) {
         data.addElement(aRow);
        fireTableRowsInserted(data.size()-1, data.size()-1);
       public static void main(String[] args) {
       TableTest frame = new TableTest();
       frame.pack();
       frame.setVisible(true);
       }Regards..
    jaya

    Dear Jaya,
    I have a look at your code. And modified a bit as well to really check the getSelectedRow(). Here's the modified code: I think when key event fired, the table row is changed and then is displays the get selected row. You can check this, if you are on the last row, and you press enter, it displays 0, it means first it changes the row and then displays the selected row which is obviously rowNumber+1.
    Hope it helps.
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Vector;
    class TableTest
        extends JFrame {
      MyTableModel myModel;
      JTable table;
      JButton button;
      JButton buttonQuery;
      JButton buttonSelectedRow;
      int count = 0;
      public TableTest() {
        myModel = new MyTableModel();
        table = new JTable(myModel);
        table.setPreferredScrollableViewportSize
            (new Dimension(500, 200));
        JScrollPane scrollPane = new JScrollPane(table);
        table.addKeyListener(new KeyAdapter() {
          public void keyTyped(KeyEvent ke) {
            if (ke.getKeyChar() == ke.VK_ENTER) {
              System.out.println(table.getSelectedRow());
        getContentPane().add(scrollPane, BorderLayout.CENTER);
        getContentPane().add(button = new JButton("Add Row"), BorderLayout.SOUTH);
        getContentPane().add(buttonQuery = new JButton("Query"), BorderLayout.NORTH);
        getContentPane().add(buttonSelectedRow = new JButton("Get Selected Row Number"), BorderLayout.NORTH);
        button.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            Object[] aRow = new Object[8];
            String
                aRow1;
            for (int i = 0; i < 5; i++) {}
            myModel.addRow(aRow);
        buttonSelectedRow.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            System.out.println("Selected Row is: " + table.getSelectedRow());
        buttonQuery.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            System.out.println(myModel.getRowCount());
            System.out.println(myModel.getValueAt(1, 3));
        addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            System.exit(0);
      class MyTableModel
          extends AbstractTableModel {
        protected final String[] headers = {
            "No", "Vehicle No", "Date of Loss", "Image Type", "Image Description",
            "Claim Type", "Scan Date", "User Id"};
        Vector data;
        MyTableModel() {
          data = new Vector();
        public int getColumnCount() {
          return headers.length;
        public int getRowCount() {
          return data.size();
        public Object getValueAt(int row, int col) {
          if (row < data.size() && col < 8) {
            Object[] aRow = (Object[]) data.elementAt(row);
            return aRow[col];
          else {
            return null;
        public void addRow(Object[] aRow) {
          data.addElement(aRow);
          fireTableRowsInserted(data.size() - 1, data.size() - 1);
      public static void main(String[] args) {
        TableTest frame = new TableTest();
        frame.pack();
        frame.setVisible(true);

  • The numedit control displays the floating value with a comma instead of dot. For eg: 10,835 instead of 10.835. The regional settings of the computer are correct.

    How to change the comma to dot?

    Could you please post what version of cwui.ocx you have on your machine and a simple project that reproduces the behavior that you're seeing. Thanks.
    - Elton

  • PO doesn't get created, backend returns PO number with "S" message

    Hi experts,
    I need your kind assisstance with the following problem: when SC is sent to the backend, the backend system returns the PO number with a message that the PO has been created. When we check at the backend the PO is not created.... It happens only when customer fields are transfered in the table EXTENSIONIN.
    SRM Server 500.
    Thanks a lot for your help.
    Tomas Kraus

    Hi
    <u>What error are you getting in this case ?</u>
    <b>Question:</b>
    <u>You are using BAPI_PO_CREATE1 and BAPI_PO_CHANGE to supply user-defined fields for tables EKKO, EKPO and EKKN. During the update, a termination occurs with DBIF_RSQL_INVALID_REQUEST.</u>
    Answer:
    Check in the CI structures of the corresponding database table as to whether there are type P (packed) fields. Refer to the online documentation for user-defined fields and the ExtensionIn parameter:
    In BAPI table extensions, only CHAR data type fields and similar data types can be used by the customer. This restriction arises as a result of the BAPIPAREX reference structure of the extension parameters. In addition, the customer must not use standard table fields in the APPEND of the BAPI table extension because a 'move-corresponding' would also overwrite the SAP field.
    See Note 509898 for a solution approach.
    <b>Please go through the SAP OSS note -</b>Note 582221 - FAQ: BAPIs for purchase orders
    <b>for more details.</b>
    <u>Also go through the related SAP OSS Notes -></u>
    Note 390742 - Customer enhancements not transferred
    Note 336589 - BAPI_PO_CREATE: Customer enhancements
    Note 867018 - Customer fields transfer to the back end
    Note  445169 - BAPI_PO_GET_DETAIL: Integrated customer enhancements
    Note  395311 - BAPI_PO_CREATE: Customer enhancements not copied
    Note 631758 BAPI_PO_GETDETAIL: Incorrect ExtensionOut struc. name
    Hope this will definitely help.Do let me know.
    Regards
    - Atul

  • Display a number with commas

    Here's a way to display a number with commas. See attached
    code.
    I had searched here for help on how to do it, and couldn't
    find anything. So, then I wrote this. I'm a hack, self-taught
    coder, so there may be a more eloquent way, but this does
    work.

    Nice, I'm always happy to be humbled.
    One more point. If you're going ot use a return statement I
    like to keep it
    at the very end of the function. So, in a conditional
    statement, setting a
    local variable to the value to be returned allows you to
    return that local
    variable and always keep the return statement as the last
    line. It just
    saves a little searching around for returns in longer
    functions. Just a
    style choice not necessarily better.
    Craig Wollman
    Word of Mouth Productions
    phone 212 928 9581
    fax 212 928 9582
    159-00 Riverside Drive West #5H-70
    NY, NY 10032
    www.wordofmouthpros.com
    "duckets" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    quote:
    Originally posted by:
    FasterPastor
    > I had searched here for help on how to do it, and
    couldn't find
    > anything.
    >
    > You should have asked! here's one I have had sitting
    around for a while.
    > (code
    > attached below). It handles lots of cases which the
    other handlers posted
    > so
    > far do not. Specifically:
    >
    > Negative numbers - input: -123456
    > - craig's: -,123,456
    > - dougs's: -,123,456
    > - mikes's: -,123,456
    > - duck's: -123,456
    >
    > Floating point numbers - input: pi
    > - craig's: 3
    > - dougs's: 3
    > - mikes's: 3.1,416
    > - duck's: 3.1416
    >
    > Numbers larger than the maxinteger - input: 149668992000
    > - craig's: -,654,863,360
    > - dougs's: -,654,863,360
    > - mikes's: 14,966,899,200,0.0,000
    > - duck's: 149,668,992,000
    >
    > Negative floats - input: -123456.7890
    > - craig's: -,123,457
    > - dougs's: -,123,457
    > - mikes's: -12,345,6.7,890
    > - duck's: -123,456.789
    >
    > Floats larger than the maxinteger - input:
    2233445566.7788
    > - craig's: -2,061,521,729
    > - dougs's: -2,061,521,729
    > - mikes's: 223,344,556,6.7,788
    > - duck's: 2,233,445,566.7788
    >
    > Yes.. the code is longer, but if you want to print
    something like the
    > distance
    > in meters to the sun, you need to handle floats
    properly!
    >
    > enjoy ;-)
    >
    > - Ben
    >
    >
    >
    > on stringNumber n
    >
    > outputString = ""
    > inputString = string(n)
    >
    > if inputString.char[1] = "-" then
    > negative = true
    > delete inputString.char[1]
    > else
    > negative = false
    > end if
    >
    > fraction = ""
    >
    > if inputString contains "e" then
    >
    > mantissa = inputString.char[1..(offset("e",
    inputString)-1)]
    > exponent = value(inputString.char[(offset("e",
    > inputString)+1)..inputString.length])
    >
    > decimalChar = mantissa.char[2]
    > mantissa = mantissa.char[1] &
    mantissa.char[3..mantissa.length]
    >
    > if mantissa.length < exponent+1 then
    > plainNumber = mantissa
    > repeat while plainNumber.length < exponent+1
    > put "0" after plainNumber
    > end repeat
    > else
    > plainNumber = mantissa.char[1..(exponent+1)]
    > fraction = mantissa.char[(exponent+2)..mantissa.length]
    > end if
    >
    > else
    >
    > if offset(".", inputString)>0 then
    > decimalChar = "."
    > end if
    > if offset(",", inputString)>0 then
    > decimalChar = ","
    > end if
    >
    > if offset(decimalChar, inputString)>0 then
    > plainNumber = inputString.char[1..(offset(decimalChar,
    > inputString)-1)]
    > fraction = inputString.char[(offset(decimalChar,
    > inputString)+1)..inputString.length]
    > else
    > plainNumber = inputString
    > fraction = ""
    > decimalChar = string(1.2).char[2]
    > end if
    >
    > end if
    >
    > if decimalChar = "." then
    > separatorChar = ","
    > else
    > separatorChar = "."
    > end if
    >
    >
    > repeat while plainNumber.char[1] = "0"
    > delete plainNumber.char[1]
    > end repeat
    >
    >
    > repeat while plainNumber.length > 0
    > if plainNumber.length > 3 then
    > nextDigits =
    >
    separatorChar&plainNumber.char[plainNumber.length-2..plainNumber.length]
    > delete
    plainNumber.char[plainNumber.length-2..plainNumber.length]
    > else
    > nextDigits = plainNumber
    > plainNumber = ""
    > end if
    > put nextDigits before outputString
    > end repeat
    >
    > repeat while fraction.char[fraction.length] = "0"
    > delete fraction.char[fraction.length]
    > end repeat
    >
    > if fraction.length > 0 then
    > put decimalChar&fraction after outputString
    > end if
    >
    >
    > if negative then
    > put "-" before outputString
    > end if
    >
    > return outputString
    >
    > end
    >

  • Displaying a number with commas in gid

    Hi EveryOne,
                       This is Ram Prasad.I want to display a number with commas in the grid (eg:1,000).In the grid it is shown as 1000.I wan to add commas for this number to be shown in the grid display template.Can any one help on this.

    That's an odd format, so I assume you mean 1 million to be displayed as:  1,000,000 ?
    http://help.sap.com/saphelp_xmii115/helpdata/en/Applet_Reference_Details/ParameterReference.htm#Number Formatting
    #,##0 should provide you with a comma as the thousands separator for all numbers in this column of your iGrid.

  • Returning a number with precsion in pl/sql function

    How can I return a number with desired precision in oracle function
    e.g
    Function return_number ( --- )
    return number
    is
    v_number number(10,2)
    begin
    select no into v_number from table;
    return v_number;
    end;
    will this work

    How can I return a number with desired precision in oracle functionCreate a subtype as e.g. in
    SQL> create or replace package pkg
    as
    subtype n10_2 is number(10,2);
    end pkg;
    Package created.
    SQL> create or replace function return_number
       return pkg.n10_2
    is
       v_number       pkg.n10_2;
    begin
       return v_number;
    end return_number;
    Function created.
    SQL> select object_name ,data_type, data_precision, data_scale from user_arguments where object_name = 'RETURN_NUMBER'
    OBJECT_NAME                    DATA_TYPE                      DATA_PRECISION DATA_SCALE
    RETURN_NUMBER                  NUMBER                                     10          2
    1 row selected.also possible:
    ... return tab.col%type;where col is a column of tab with data type number(10,2).

  • Replacing character and number e.g #1154;#" with a comma using powershell

    Hi there,
           How can i replace
    I have a string like below  and would like to replace ";#1154;#" with a comma.
    tried using (;#)\d{4}(;#)" but it doesnt work
    Amber Wood;#1154;#John Roberts;#1121;#Peter Ma;#1597;#
    Thanks in Advance
    Output should be : 
    Amber Wood,John Roberts,Peter Ma

    The regex is almost right, but you don't need the normal brackets. If you remove them as per :
    $a = "Amber Wood;#1154;#John Roberts;#1121;#Peter Ma;#1597;#"
    $b = $a -replace ";#\d{4};#",","
    $b
    you'll see that works.

  • Converting a number with decimal to word

    hi
    how to convert a number with decimal to words in oracle
    to_char(to_date(1311,'J'), 'JSP') giving error with number having decimal

    and very nls dependant ;-)nls-dependant because you used comma in the mask as a decimal delimiter?
    but instead of
    regexp_replace(n,'(\d*),(\d*)','\2')you can simply use:
    regexp_substr(n,'\d*$')but in case there is no fractional part it would return the whole number, but still you can avoid usind delimiter as:
    regexp_replace(n,'^\d*|(\d*)$|.','\1')PS
    of course it is not really serious, cause you can get the fractional part, without using regular expressions at all, namely: val-trunc(val)

  • I purchased an ipad from a dealer on ebay with a 9 month warranty still on it.  I set it up and decided to return it and buy the new Ipad instead. How can I be sure I didn't activate the warranty, or deactivate if it has been activated?

    I purchased an ipad from a dealer on ebay with a 9 month warranty still on it.  I set it up and decided to return it and buy the new Ipad instead. How can I be sure I didn't activate the warranty, or deactivate if it has been activated?

    Sorry, I can't tell what it is you're trying to ask. What does the warranty have to do with your intention to return the iPad (to whomever) and get another one?
    There's no way to deactivate a warranty.
    The warranty transfers with the machine, has nothing to do with the owner.
    Look around in the Support pages, you can figure out a way to type in your serial number and see what your current warranty status is.

  • Cannot Update Contingent Worker Number with API when no assignment exists

    Hi
    I am using hr_person_api.update_gb_person to update Contingent Worker Numbers (NPW_Number in PER_ALL_PEOPLE_F). This works fine apart from one exception. I get the following error: ORA-20001: You cannot enter a Contingent Worker number because you are not creating a Contingent Worker.
    The Contingent Worker failing has 4 records in PER_ALL_PEOPLE_F. The 3 date tracked (end dated) records update fine as expected....the new NPW_Number appears in PER_ALL_PEOPLE_F. However, the current active record does not update it returns the error mentioned. This appears to be because the person in question was terminated. (ie via Others and selecting End Placement in the screens).
    This person now shows as Ex-Agency Person Type. This process does not generate a record in PER_ALL_ASSIGNMENTS_F. I am wondering if this causes the API some confusion?
    I can go into the screen and manually change the Contingent Worker and it saves fine so I would expect the API to do the same. However it returns ORA-20001: You cannot enter a Contingent Worker number because you are not creating a Contingent Worker....for this single record only.
    Any suggestions as to what may be causing the API to return this and any workaround please?
    Many thanks in advance.

    Sometimes APIs are not behaving as Forms do.
    An ugly solution in this case could be reverse the termination (hr_ex_employee_api.reverse_terminate_employee), then update the Contingent Worker Number with your API, then terminate him/her again.

  • Return PDF page number from the name of the link in InDesign CS4 JS

    Hi, I need to return pdf page number of the linked file in InDesign.Here what I have so far, but my FilePath comes back undefined, and I am not sure if pageNmuber line would work:
        var myArtBack = app.activeDocument.pages[1].rectangles[0].graphics[0];
        var myArtBackName = myArtBack.itemLink.name;
        var myBackFilePath = myArtBackName.filePath;
        var myPageNumber  = myBackFilePath.PDFAttribute.pageNumber;
    Your help is highly appreciated.
    Yulia

    Your first problem is:
    var myBackFilePath = myArtBackName.filePath;
    That should be:
    var myBackFilePath = myArtBack.itemLink.filePath;
    What you should have done is something like:
    var myLink = myArtBack.itemLink;
    var myPageNumber = myLink.parent.pdfAttributes.pageNumber;
    Maybe you need the file path for some other purpose, but that's not the route to information about the PDF graphic (the parent of the link) which has the pdfAttributes property -- property names always start with a lowercase letter.
    Dave

  • Is there an easy way to convert from a String with a comma, ie. 1,000.00 to

    Is there an easy way to convert from a String with a comma, ie. 1,000.00 to a float or a double?
    thanks,
    dosteov

    Like DrClap said: DecimalFormat. However, make sure you understand the Locale things, as explained at http://java.sun.com/j2se/1.3/docs/api/java/text/DecimalFormat.html (which refers to NumberFormat as well) and use them explicitly. Like
    public class FormatTest
      public static void main(String args[])
        try
          // see NumberFormat.getInstance()
          DecimalFormat fmt = new DecimalFormat();
          Number num = fmt.parse("1,000.01");
          System.out.println(num.doubleValue());
        catch(ParseException pe)
          System.out.println(pe);
    }most likely seems OK on your system, but may print "1.0" (or even fail) on some non-English platforms!
    When performing calculations, also see http://developer.java.sun.com/developer/JDCTechTips/2001/tt0807.html
    a.

  • How do you get the integer of a number with more than 10 digits

    I can't seem to be able to get the integer of a number with more than 10 digits.
    ex:
    integer(12345678901.3) returns -539222987 when it should really return 12345678901
    Thanks for the help
    (I'm on director 11 at the moment)

    You can write a Parent script to represent Big Integers. I wrote some code to get you started. It consist of two classes - "BigInt" and "Digit".  At this point you can only add two "BigInts" and print out the value with a toString() function. Note that you pass a String to the "BigInt" constructor.
    In the message window you could enter something like:
    x = script("BigInt").new("999999999999")
    y = script("BigInt").new("100000000000000000004")
    z = x.add(y)
    put z.toString()
    And the output window will show:
    -- "100000001000000000003"
    Here are the two Parent scripts / Classes
    -- Digit
    property  val
    property  next
    on new me, anInt
      val = anInt
      next = 0
      return me
    end new
    -- BigInt
    property  Num
    property  StringRep
    on new me, aString
      Num =  script("Digit").new(Integer(aString.char[aString.length]))
      curNum = Num
      repeat with pos = aString.length - 1 down to 1
        curNum.next = script("Digit").new(Integer(aString.char[pos]))
        curNum = curNum.next
      end repeat
      return me
    end new
    on add me ,  Num2
      curNum = Num
      curNum2 = Num2.Num
      result = curNum.val + curNum2.val
      if result > 9 then
        carry = 1
      else
        carry = 0
      end if
      result = result mod 10
      sum = script("Digit").new(result)
      curSum = sum
      curNum = curNum.next
      curNum2 = curNum2.next
      repeat while curNum.ObjectP AND curNum2.ObjectP
        result = curNum.val + curNum2.val + carry
        if result > 9 then
          carry = 1
        else
          carry = 0
        end if
        result = result mod 10
        curSum.next = script("Digit").new(result)
        curSum = curSum.next
        curNum = curNum.next
        curNum2 = curNum2.next
      end repeat
      repeat while curNum.ObjectP
        result = curNum.val +  carry
        if result > 9 then
          carry = 1
        else
          carry = 0
        end if
        result = result mod 10
        curSum.next = script("Digit").new(result)
        curSum = curSum.next
        curNum = curNum.next
      end repeat
      repeat while curNum2.ObjectP
        result = curNum2.val +  carry
        if result > 9 then
          carry = 1
        else
          carry = 0
        end if
        result = result mod 10
        curSum.next = script("Digit").new(result)
        curSum = curSum.next
        curNum2 = curNum2.next
      end repeat
      StringRep = ""
      me.makeString(sum)
      return me.script.new(StringRep)
    end add
    on toString me
      StringRep = ""
      me.makeString(Num)
      return StringRep
    end toString
    on makeString me, digit
      if not digit then
        return
      end if
      me.makeString(digit.next)
      put String(digit.val) after StringRep
    end makeString

  • Invalid number while loading a number with a coma as a group separator

    Hi,
    I'm loading a file in which I have numbers such as -9,999.99. The point is for decimal and the coma for the group separator (thousands).
    I did an alter session with a set to NLS_NUMERIC_CHARACTERS=".,"
    I have no errors with numbers such as -999.99 but as soon as I have a number with a thousand such 1,789.44 I got an invalid number error ??
    By the way when I tried to do the SQL statement directly, I also got the error
    SQL> select to_number('1,789.55','S999G999D99','NLS_NUMERIC_CHARACTERS=".,"') from dual;
    select to_number('1,789.55','S999G999D99','NLS_NUMERIC_CHARACTERS=".,"') from dual
    ERREUR à la ligne 1 :
    ORA-01722: Nombre non valide
    What am I missing ? What should I do to avoid the error ?
    Thxs in advance for your help.
    Rgds
    Yves

    Look carefully onto your format mask - it begins with 'S'.
    Format Model
    S
    Returns negative value with a leading minus sign (-).
    Returns positive value with a leading plus sign (+).
    Returns negative value with a trailing minus sign (-).
    Returns positive value with a trailing plus sign (+).
    Restriction: The S format element can appear only in the first or last position of a number format model.
    SQL> select to_number('+1,789.55','S999G999D99','NLS_NUMERIC_CHARACTERS=''.,''') from dual
      2  /
    TO_NUMBER('+1,789.55','S999G999D99','NLS_NUMERIC_CHARACTERS=''.,''')
                                                                 1789.55
    SQL> select to_number('1,789.55','999G999D99','NLS_NUMERIC_CHARACTERS=''.,''') from dual
      2  /
    TO_NUMBER('1,789.55','999G999D99','NLS_NUMERIC_CHARACTERS=''.,''')
                                                               1789.55Rgds.

Maybe you are looking for

  • How BBPUPDVD determines vendor master change in ECC?

    Hi Experts, How is the vendor master change in ECC captured and what is the strategy/check that the BBPUPDVD transaction OR vendor update report uses/does in ECC to pick up the updated vendor with qualified fields for transmission? Qualified fields -

  • ABC Indicator sap PM

    Hi PM gurus I have a problem. I change a ABC Indicator value of Functional Locations to A via transaction IL02. However, when i get a report with transaction IW38, I dont see A value in ABC Indicator field in some of the Functional Locations. I am su

  • COunt no of rows  of  all the tables

    hai Pls tell me COunt no of rows of all the tables in the user SOP Output like this Tablename rows sen 31 van 45 etc pls help S

  • How to execute OS command on client's machine

    Hi, How to invoke for example MsWord on client's machine from APEX? I'm trying to use MSWord mail merge. Andrija

  • Is it possible to insert row with timestamp field without to TO_TIMESTAMP

    hello is it possible to insert row with timestamp column without using to_timestamp unction somthing like insert into app.master values (3,333, 'inser tmstmp', 6.7, '2010-11-10 15:14', 'f','9','2010-12-22')