Digital decimal separator set

Hi all

I was wondering if there is a way to put the separator from ', 'to'. ', without having to change the language of the application.
I saw this thread: Re: how to change the separator for decimal numbers to enter aplication?
where the language should be changed but y at - it another way?
I need to use the value of the digital item on search criteria, and it must have a decimal point, without getting the error number not valid.

Any help is appreciated,

Cleo

Cleopatra wrote:

APEX version: 4.0

Don't know much about the NLS settings, this should be the case for my application.

For the entire application, try to use

begin
  execute immediate q'{alter session set nls_numeric_characters='.,'}';
end;

in the security of a virtual private database (VPD) attribute (Home > Application Builder > Application > shared components > change security attributes).

However, I am not clear about the exact nature of the obligation:

I need to use the value of the digital item on search criteria, and it must have a decimal point, without getting the error number not valid.

I think that if it is really needed, then you'll want to limit the scope of the parameters changed more NLS in order to avoid undesirable side effects.

Tags: Database

Similar Questions

  • Bug report - validation number in a table (comma as a decimal separator)

    Hello

    When a number is inserted with a comma as a decimal separator (my local context is Czech, but should be the same with Canadians or French https://docs.oracle.com/cd/E19455-01/806-0169/overview-9/index.html and the decimal in numeric keypad key produced by commas), comma is removed rather than get a good error message and the number is inserted in a form as there is no decimal point/comma comma at all. The built-in digital validation can be easily replaced by manual validation of PL/SQL like this

    DECLARE
      v_ret_val BOOLEAN;
      v_tmp_num NUMBER;
    BEGIN
      v_tmp_num := to_number(:num_col);
      RETURN true;
    EXCEPTION
    WHEN OTHERS THEN
      RETURN false;
    END;
    

    but it is just a workaround.

    I created a unit test to https://apex.oracle.com/pls/apex

    workspace: tests

    user: supporter

    PWD: supporter1234

    Request 63101 - tab_form_bug

    I don't want to be too greedy... But please, kindly check the dev team can someone also it I reported it here Re: point Blob problem encoding?

    Thank you very much

    Pavel

    Hi Pavel,

    If you leave the main language of your application, the English value, comma is correctly interpreted as thousands separator. I've updated your application and set the primary language to the Czech, and now he behaves as you would expect (see shared components, attributes of globalization). And certainly, we continue to worry about the tabular forms, they do not go far. Interactive grids provide much additional and new features that are not available with the tabular forms, tabular forms however continue to have a place in the APEX - similar to how there are cases of use for classic reports and interactive reports.

    Kind regards
    Marc

  • Trinidad - config.xml, number-grouping-separator and decimal separator

    Hello

    Depending on my location of the application, the numbers are formatted into 1.234,56
    Now, I want numbers to shape US flavor: 1,234.56

    Here's my content in the file config.xml - Trinity :

    <? XML version = "1.0" encoding = "windows-1252"? >
    < trinidad-config xmlns = "http://myfaces.apache.org/trinidad/config" >
    mySkin < skin-family > < / skin-family >
    < number-grouping-separator >, < / number-grouping-separator >
    > decimal separator <. < / decimal separator >
    < / Trinity-config >

    The file above is declared in the file web.xml (although I'm not sure this is really necessary):

    < context-param >
    javax.faces.CONFIG_FILES < param-name > < / param-name >
    /Web-INF/Trinidad-config.XML < param-value > < / param-value >
    < / context-param >

    And an example of digital input text:

    < af:inputText value = "#{row.bindings.Salary.inputValue}" label = "#{bindings. EmployeesView3.hints.Salary.label}.
    required = "#{bindings." EmployeesView3.hints.Salary.mandatory} "columns =" #{bindings. "." EmployeesView3.hints.Salary.displayWidth}.
    maximumLength = "#{bindings." EmployeesView3.hints.Salary.precision}"shortDesc =" #{bindings. " EmployeesView3.hints.Salary.tooltip}.
    ID = "it5" >
    < f: validator binding="#{row.bindings.Salary.validator}"/ >
    < af:convertNumber pattern = "#{bindings." EmployeesView3.hints.Salary.format}"/ >
    < / af:inputText >

    Where the model is defined at the level of the Entity object: EO employees > attribute salary > UI tips > Format: #, # 0.00

    But it does not work. I don't know what I'm missing... Help, please!
    JDev 11.1.1.3.0

    Marge,

    A number of things I found after I played with him (very simple example: HR schema / table Employees / salary attribute):

    (a) the docs are wrong - there should be trinidad-config. XML
    (b) no matter what I did with the af: convertNumber and the Trinity-config-xml delimiters picked up from my locale
    (c) until... I took the advice of of EO (type attribute set to "" format) and then things started working - even deleted the attribute of the af model: convertNumber did not help. So, remove the tips of the EO and put "#, # 0.00" in the attribute of the af model: convertNumber and everything is good. I dropped an e-mail to someone at Oracle to report the bug in the documentation as well as the apparent bug that conversion does not work correctly if there is a hint of control on the attribute.

    John

  • Decimal separator so bad error

    I use Apex 3.2

    Our data base and apex bodies are configured to use a decimal separator in numeric values (NLS_LANGUAGE = AMERICAN)
    Many of our users are German and in Germany, they use a comma as a decimal separator.
    Whenever they enter a comma instead of a period, I need to give an error on the page.
    Currently in our page, we use
    exception
      when others then
       if sqlcode=-6502 
         then 
           rollback;
           :P9_ERROR:='Please use points as decimal separator';
         else
          raise;
       end if;
    : P9_ERROR is a hidden page and then element in the success of process message, we put & P9_ERROR.

    Is there a better way to do it.
    The ust of error message displayed on the page and not on the error page

    Thank you

    Gus

    Published by: Gus C 4 December 2012 12:02 AM

    can't you simply say your validation

    //set the validation type to Function returning error text
    IF :PX_ITEM_NAME like '%,%' THEN
       RETURN 'Please use points as decimal separator';
    ELSE
       RETURN NULL;
    END IF;
    
  • Decimal separator in the SELECT Clause

    Hello

    I have the following parameters of decimal number:

    SQL > select value
    2 from v$ nls_parameters
    3 where parameter = "NLS_NUMERIC_CHARACTERS;

    VALUE
    ----------------------------------------------------------------
    ,.

    If I show a decimal number, I get a comma as decimal separator
    SQL > select 10/100 double;

    10/100
    ----------
    1

    But if I use a decimal separator in the SELECT clause, I get:

    SQL > select 100 * 1.1 double;

    100 * 1 1
    ---------- ----------
    1 100

    It does not work. But the use of a period as the decimal separator works:

    SQL > select 1.1 * 100 double;

    1.1 * 100
    ----------
    110

    Maybe it's something that I never had to deal with before, but I thought that the number format applied to results of sql, as well as the numbers you have used sql clauses.

    Kind regards

    Nestor Boscan

    Hi, Nestor,

    user594312 wrote:
    ... I thought that the number format applied to results of sql, as well as the numbers you have used sql clauses.

    No.; it applies to the results and it can affect implicit conversions, but it does not apply to the SQL code.
    The period (or dot, '.') is the decimal separator in literals always digital. There is no way to change this.

    Think how confusing it would be if it applied to the SQL code. For example:

    WHERE   num_col  IN (1,2)
    

    We compare num_col values 1 or 2? He comes in, what happens if we wanted to do the opposite?

    If you really want to use the comma as the decimal separator, you may have to use strings, not numbers, and it could be much less effective.
    For example:

    SELECT  100 * TO_NUMBER ('1,1')    -- This assumes your NLS settings are correct
    FROM    dual;
    

    Of course, the effectiveness will not be a problem when you select 1 row of double.

  • How to change the color of the elements of a digital picture (separately) programmatically by using the property node?

    For example, I have 3 digital controls, controlling 3 digital array elements (digital control is connected directly to the indicator). So if I change value in digital control 1, then the table item # 1 of the digital table should blush when the value is greater than 5. Similarly when I change NUM controls 2 item 2 of the table should turn red when the value control num 1 exceeds 10. Similarly for the 3rd element. In other words, I want to control the ownership of the elements of the array individually through the digital command separated.

    I did it for unique digital indicator.i.e. When I change the values of the control, then a single digital indicator changes color (text digital property BG) and with table values, changes the color of the entire table, but I want to change the color of the singles of the table element.

    Please help thanks.

    I hope you do well! You cannot change the properties of elements of an array. What you could do instead is probably using a table where you can change the background color of a cell?

  • change the decimal separator


    I think the problem was the misconfigured import filter.

    You can change the decimal separator for each column in the last step of the configuration dialog box. Simply select the numeric column (data channel) in the data preview and select the good seprator for data in the upper part of the dialog box.

    hope this helps

  • The locale-specific decimal separator in Fmt?

    Is there a way to get the floating point numbers using the locale-specific decimal separator in the Fmt() function?

    It seems that SetSystemAttribute will only change the separator of UI elements, as described in this thread.  Call setlocale (LC_ALL, "") doesn't seem to work either.

    Is this possible?

    Thanks for the reply.  I ended up just do a search / replace and permutation of every instance of Fmt() with sprintf_s(), which DOES pay attention to the setlocale() function.

  • ORA-01722: invalid number - when the last column has numbers that have a decimal separator

    Here are examples of data-

    FRT, 1.64, VAT, 23,36

    FRT, 1.64, VAT, 23,36

    When I try to convert 1.64 to_number everything is good, but when I do the same thing with 23,36 I get the following error

    ORA-29913: error in executing ODCIEXTTABLEFETCH legend

    ORA-01722: invalid number

    ORA-06512: at "SYS." ORACLE_LOADER', line 52

    I tried this query example

    Select to_number (CONSIGNMENT_NET_VALUE) as Col1 of DUMP_EXT

    Select to_number (CONSIGNMENT_NET_VALUE, '9999999999D' 99999', NLS_NUMERIC_CHARACTERS = ",". ") as Col1 DUMP_EXT-> 268906.1

    make the same mistake - any help greatly appreciated.

    T.

    Srini

    Try using:

    RECORDS DELIMITED BY newline

    Instead of:

    RECORDS DELIMITED BY '\n'


    on your table to create, in addition to just help to_number or to_number return with ' NLS_NUMERIC_CHARACTERS = ".," ' in your query, in the period before the comma as decimal separator comes before the grouping separator.

    What is probably happening is that your return to the line of the system data come from different East of your new line on the system that you load in.  You may need to experiment and

    Select dump (consignment_net_value) in the dump_ext;

    to determine what additional invisible characters, such as Chr (10) and Chr (13) can be added at the end of the number that you have to cut, so just using line feed does not work.  This is why it only happens with the numbers at the end of the line.

    Post edited by: BarbaraBoehmer

  • Decimal separator ADF

    I use Jdeveloper 11.1.2.3.0 I need the numbers to have a comma so as thousands separator and dot (.) as a decimal I tried to adjust es_ES and en_US locale in facesconfig

    I use a < f: convertnumber pattern = "#0.00".

    but this threshold does not work it ask for the comma as decimal separator!

    Check out http://blog.olrichs.nl/2013/02/display-correct-symbol-in-front-of-your.html that should get you work.

    Timo

  • The decimal separator in the model generator XML Word formatting

    Hello
    I am a model in the XML Editor, for a report of accounts receivable in the E-Business Suite. So I use MS Word with the Publisher Oracle XML model builder plug-in software component.

    The data comes from the E-Business suite by using the comma as decimal separator. For example: 123,99
    My goal is to have the period as the decimal separator. For example: 123.99
    Does anyone know what code should I use to achieve this?
    Thanks colin

    in the next time use appropriate forum - Forum: Editor of BI - BI Publisher

    >
    The data comes from the E-Business suite by using the comma as decimal separator. For example: 123,99
    My goal is to have the period as the decimal separator. For example: 123.99
    >
    use

    
    

    where VAL is tag with 123,99

  • Written for several digital lines separated by commas

    Hello people,

    I use a USB-6009 box and want to write several digital lines created in the style, separated by commas:

    error = DAQmxCreateDOChan(taskSelHead,"dev3/port0/line0,dev3/port0/line6","",DAQmx_Val_ChanPerLine);

    When I try to write in this channel I do

    uInt8 data [8] = {d1, 0, 0, 0, 0, 0, d2, 0}; with d1 and d2 that represents 0 or 1, which bits I want to get written

    int error = DAQmxWriteDigitalLines (taskSelectFilter, 1, 1, 10, DAQmx_Val_GroupByChannel, data, NULL, NULL);

    The result is, this only $line0 is updated, lin6 rest 0.

    I also tried DAQmxWriteDigitalU8 with the same effect.

    Can anyone help?

    Thanks in advance,

    Michael

    Hi Michael,

    you have defined two dig.out channels in your task: line 0 and line 6. So, when you write an array of string values, d1 Gets the mapping to your line 0 straight - but line 6 still receives a zero!

    Have you tried to set data uInt8 [2] = {d1, d2}?

    Best regards
    Sebastian

  • When I wear the watch on my left wrist and Iset the orientation of the digital Crown for the side LEFT it also stops receiving notifications? I tested it again and again, but if the digital Crown is set to left on left wrist ir stops receiving notificatio

    When I wear the watch on my left wrist and I set the orientation of the digital Crown also for the side LEFT, he ceases to receive notifications, I tested it again and again, as soon as counsel for the Attorney general setting is left on the left wrist... notifications stops on the watch?

    Hello

    How notifications behave depends on the State of your devices and on the configuration of your watch. In order to provide notifications to your attention as soon as possible:

    -If your iPhone is unlocked, you will receive notifications on your iPhone instead of on your watch.

    -If your iPhone is locked or asleep and that your watch is unlocked and on your wrist, you will receive notifications on your watch.

    -If your watch is locked or allowed to do not disturb, notifications will be sent to your iPhone.

    More information: on your Apple Watch - Apple Support notifications

  • Display only the last 4 digits of a set of numbers?

    Hello

    Is there a way where I can limit the characters to shoot only in the last digits of the 4 digits instead the first 4 of a set of numbers?  I did the character limit, but he shoots only in the first 4 characters.  Any help is appreciated! Thank you!

    In this case, you can move the code as a script at the level of the doc and change this:

    this.getField("taret_field").value = this.getField ("source field").value.substr (-4);

  • Graphics Illustrator; Add totals to the definition of the column; Need, (comma) as the decimal separator

    Hi all

    I am change an annual report of the German.

    I live in Australia.

    My system runs OS X 10.10.2 and my CC from the Adobe Suite is English (or Australian, if that makes a difference in some libraries)

    I need to create a group of column and bar charts.

    The label next to a single column or bar is taken automatically distributed data.

    The decimal in the propagation data separator is a. (full stop, or dot)

    I need display a comma on the final graph. This is the standard in many European languages.

    If I enter a comma in the distributed data refuses to Illustrator to draw a graph for this value.

    How can I do this?

    Concerning

    Romano

    Romano,

    Your results seem to confirm my understanding.

    Is that what this means that you can open the file in comma-State and close again without editing, then the client will get that (in other words a simple solution to the question)?

Maybe you are looking for

  • APPLE TV 4 with onkyo receiver

    Hi all I just upgraded my audio/video receiver to the onkyo tx-sr444 4K pass thru etc... But having to get the the sound is to say, Dolby on the apple tv directors and the fact that it is not an optical port on the latest version of the Apple TV Im a

  • HP Pavilion ak002na-15 games: not enough memory

    Hello I have a problem with the storage, I know that my laptop (I just a week ago) a 1 t hard drive, but the office with windows is 100 GB, which is quickly filled when downloading games. How to make the storage space of 1 t? It shows on my windos an

  • [FATAL] [ConvertSecsElapsedToMilliSecs]

    Hello LabWindows cvi 2009 on Windows XP. I have a lot of error in the application event log, error is in CVI and tell event log: [FATAL] [ConvertSecsElapsedToMilliSecs] [.. \jeff\stdlib\lwutil.c:3518 assertion failure]: convert error occur with a rat

  • I have a problem with the Windows Media Player sound quality, it seems all make it sound like the chipmunks, where can I fix it?

    I am running XP, it seems not important to know if the file is coming from internal or external hard disk.  have not yet tried a cd, but suspect it will be the same.

  • CPU is more heated

    Hi my motherboard is gigabyte p31-es3g, the processor is Intel pentium 4 650 90nm 3.4 GHz, 2 GB RAM, CPU fan is automatic, speed up to 2000 rpm, ATI graphics card is 3400 1 GB, my CPU temp. While more than80c, room temp. is 18 degrees. Help, please.