Conversion input of characters in number or money value

Hello everyone. I have an element, overtime pay.

It has entries:

proportion
hourly amount
number of hours

the formula is proportion * hourly amount * number of hours

Now, I want to restrict the input value in proportion to only two values 1 and 1.2
to do this, I created a set of values and attached to the input value
I had to change the data type of the input in proportion to the character value because the number data type does not support the values/research
the problem comes from the formula

I'm going home
overtime = to_number (proportion) * hourly amount * number of hours

but I get an error

using
overtime = proportion * hourly amount * number of hours

an error as well
Does anyone know how to fix it?
Thank you very much

Hi innocent,

Try to do the conversion first and his assignment to a local variable before doing the calculation.

Example of
l_num_proportion = 0

l_num_proportion = to_number (proportion)

overtime = l_num_proportion * hourly amount * number of hours

It will be useful.

Thank you
Sanjay

Tags: Oracle Applications

Similar Questions

  • I have recently upgraded to windows 10. I need an adobe of 20 characters activation number. Activation of old

    I have recently upgraded to Windows 10.  I need an Adobe of 20 characters activation number.

    The original activation number I consists of 32 digits.

    Adobe Photoshop CS and 10 windows have one conflict with each other.

    When I open CS I get a window to reactivate the product on the net, and every time I

    tried fails. Also there no support phone here in Australia now to get the result above.

    Can someone help me with this please.

    Hi nevillem,

    What exact version of Photoshop Cs do you use?

    Servers of activation for Photoshop version CS2 and less is more works now.

    Please go through this article and install the product error: "Activation Server unavailable". CS2, Acrobat 7, pass a hearing 3

    Serialize using the corresponding serial number (mentioned in the link)

    Kind regards

    Assani

  • VI to convert input signals NI 9402 in a RPM value, based on the frequency of the pulses

    Hello

    I'm looking for a VI convert an input signal NI 9402 in a RPM value, based on the frequency of the pulses. Is there such a thing that exists in the library of national instruments?

    I run LAbview 2014 integrated control and monitoring on on a cRIO 9802 high performance integrated system with NEITHER 9402, 4 channels, 50 LV, LV TTL Module input/output digital, ultra high speed digital i/o for the cRIO module.

    Any help would be greatly appreciated.

    The easiest way is to use the FPGA to get the time between the edges of your pulse increase (shift registers to maintain the current situation and the time will be necessary).  This will give you the period.  If it's a single pulse per turn, then the number of laps is just 60/T, where T is the time in seconds.

  • My original serial number MS Money need to work in Win7 as it does in Windows XP

    Just migrated to Win7, I so I had to install all my old software including Money Plus Deluxe. My order in MS 2 years number is 3613957714, the serial number is DJ - 295 M 6 - SL8VZ-(occult for forum) - VWHP4 - SSGPJ.  I want to continue to use the money to store my data of the Bank, but he constantly shallow me to activate it. When I put my serial number, it is said he arrived at expiry, enter a new. I want to just get rid of the nagging Activation and be able to change my data. How can I enter my serial number expired?  I love Win7, but not so much that I have to give up my existing programs.  Ms. there a way to return Win7 if I can't get money to work?
    Thank you

    Windows Update has nothing to with the upgrade of Windows. Please post future questions related to the upgrade in this forum: http://social.answers.microsoft.com/Forums/en-US/w7install/threads ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Analog conversion input 5v in TrueFalse?

    So basically, how to convert the 5v I get from my analog data acquisition for entry into a true/false?
    True = 'measures' will be taken
    False = nothing happen

    any advice pls thx

    Sounds like a place to use the Boolean crossing PtByPt VI.  You can configure it to only give you a great value when the Boolean input changes from false to true.

  • String conversion that a certain past number

    Why do I only get a past number?

    STRING [XXXXX. XXXXXXXX] => FLOAT [XXXXX. X]

    float extended by default did not help

    your digital indicator is configured to display the 6 digits of precision

  • convert oracle.jbo.domain.number of positive value to a negative value in EL Expression

    Hi all

    jdev: 11.1.1.4

    My use case is to try to convert positive user input negative number, once the user presses the tab key

    I use the Employee in the HR schema table and when any kind of user + ve value in the salary column, then be converted into value - EV.

    < af:inputText value = "#{bindings." Salary.inputValue.value > 0? 0 - links. Salary.inputValue.value: links. Salary.inputValue}.

    label = "#{bindings." Salary.hints.label}.

    autoSubmit = "true" >

    < af:convertNumber type = "currency".

    currencySymbol = "$" integerOnly = "true".

    minFractionDigits = '0' maxFractionDigits = "0".

    groupingUsed = 'false' local = "en-US" / >

    < / af:inputText >

    It's work the converted number in ve - but it makes the readonly entry text box. If the user was not able to change the value.

    Kind regards

    Krishan

    I don't think it can be done in EL only. the problem is that you change the location of storage. I suggest that you use a value valueChangeListener and climatiqueLes in there as

    {} public void numberChangeListener (ValueChangeEvent valueChangeEvent)

    Integer i = valueChangeEvent.getNewValue ((Integer));

    If (i > 0) {}

    get the link container

    BindingContainer links is BindingContext.getCurrent () .getCurrentBindingsEntry ();.

    updates to process

    FacesContext will involve = FacesContext.getCurrentInstance ();

    valueChangeEvent.getComponent () .processUpdates (contxt);

    get a definitions page ADF ADF attributevalue

    AttributeBinding attr = (AttributeBinding) bindings.getControlBinding ("Salary").

    attr.setInputValue(i*-1);

    PPR refresh a component jsf

    AdfFacesContext.getCurrentInstance () .addPartialTarget (valueChangeEvent.getComponent ());

    }

    Timo

  • chain number by "scan value" format string "%.3f" doesn'work

    I had a little problem.

    "To convert a string to a number, I use the function"scan value"with '%.3f' for the ' format string"connector. I would get a 3 digit number. But this doesn't work with the parameter "%.3f.

    Thank you.

    Please check the syntax of using LV Format specifier. There is a table that describes the purpose of each specifier. When you read in the description "when you use a function in shape", the specifier is applied to the number-> string, when you read "when you use a sweep feature", the specifier applies to the String-> number. The syntax of width element applies to both situations, the. Element of syntax accuracy does not work.

  • Carve out a number in char value

    Hello

    I have a number of 0,0027 and need to convert the value of character 0,0027, I tried to use under query, but the value est.0027 with no previous 0 to the decimal

    Select substr (to_char (0.0027), 1, 6) of double

    How can I get the result 0,0027.

    Thank you

    Try below

    SQL > select to_char ('0.0027 ','990.9999 ') of double

    2.

    TO_CHAR ('0.0027 ','990.9999 ')

    ----------------------------

    0,0027

    SQL >

  • Number of distinct values need

    HI gurus of the oracle,.

    I have the table as

    NUMBER NAME
    11111one
    11111b
    222c
    222d
    555555e
    555555f
    555555g
    11h
    3333I have

    I need to select distinct (length (number)), count (number of records with the same length) of the table.

    output must be

    separate (length (Number)) count (occurrences)

    5                                      2

    3                                      2

    6                                      3

    2                                      1

    4                                      1

    Please help me in this regard.

    Thanks in advance.

    REDA

    so you were almost there...

    SELECT length (number), count (*)

    FROM THE DATA

    Length Group (number)

    /

    HTH

  • 10g BEEP format-number for negative values does not

    Hi all

    I tried the following methods to get the negative number locked up with symbols ().

    1 update the mask of BI Publisher properties of field format to

    "#, # 0.00;(#,##0.00).

    2 tried the Oracle formatting options

    <? format - number:A.INVOICE_AMOUNT; "PT999G999G999G999G999G999G999D00? >

    What gives me the result as below,

    Output value

    23.45 23.45 - print correctly

    -12.90 (12.90 - closing paren "")' does not print

    Please help me get the parenthesis when generating the PDF file.

    Thank you

    I had the question.

    This is the format that was used in your model

    ###,###,###,###,###,###,###,##0.00;(#)

    The first half before; does the mask so no problem.

    But after; which is for negative values and that is not the correct format.

    Please use this format on the properties of form field that gives you good number format

    #, ##0.00;(#,##0.00)

  • Number in event.value script format

    I have a script that retrieves data from a numeric field (r18) then add a space and the text "annual vacation Credits."  Currently, the result is something like "100000 credits of annual vacation.

    I am trying to format the number to include if necessary comma (ex: 10,000 or 100 000 or 1 000 000 etc.).

    Here is the current script:

    Get the field values as strings

    var = getField R18

    .valueAsString ("r18");

    Combine values

    Event.Value = r18 + 'annual vacation Credits ".

    Any help is appreciated

    It is possible to format numbers and dates using the util object in Acrobat JavaScript.

    Get the value of the field;
    R18 var is getField ("r18") .value;.
    formatting the value and concatenate text
    Event.Value = util.printf ("%, 0 1.2F", r18) + 'vacation Credits. "

    or

    Get the value of the field;
    R18 var is getField ("r18") .value;.
    format, including the text value;
    Event.Value = util.printf ("%, 0 1.2F annual vacation credits", r18);

  • Use a tag input as a placeholder for the current value

    Hello world

    I don't know if this is possible, or even if it's the right tag to use to achieve the following objectives.

    I would like to use an input field to be a field that also displays the current existing value of this field.

    Example: Zone 1 = value1 <-1 value is the present value, say in a database somewhere, or memory

    but, now I can move my cursor inside the field area where value1 is and replace it with value2

    Zone 1 = value2 <-now somewhere in memory 1 field, hold the value2

    If this is not clear, please let me know, I'll try to explain it better than I can.

    Thank you

    Neil

    I think you want the placeholder attribute: http://www.w3schools.com/tags/att_input_placeholder.asp

    To make it work on IE9 and below: https://github.com/mathiasbynens/jquery-placeholder

  • Number of unique values in 7 columns

    Hey there...
    I have a table of correspondence with 8 columns
    ID = unique ID
    U = Sunday,
    M = Monday
    T = TUE
    W = married
    R = Thur
    F = Fri
    S = Sat

    Each of the columns 'day' can be a value between 1 and 1150, looks like this

    ID U M T W R F S
    1 15 15 16 15 17 345 17

    What I'm trying to find is a county of the deviation of each line... or how many days have different values

    So for the example above

    ID U M T W R F S COUNTY
    1 15 15 16 15 17 345 17 4

    There are have 4 unique values in the week...
    15,16,17,345

    Any ideas on how this could be done in oracle? Puzzled!
    SQL> create or replace
      2    type NumberList
      3      as
      4         table of number
      5  /
    
    Type created.
    
    SQL> with sample_table as(
      2                       select 1 ID,15 U,15 M,16 T,15 W,17 R,345 F,17 S from dual
      3                      )
      4  select  s.*,
      5          cardinality(set(NumberList(U,M,T,W,R,F,S))) cnt
      6    from  sample_table s
      7  /
    
            ID          U          M          T          W          R          F          S        CNT
    ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
             1         15         15         16         15         17        345         17          4
    
    SQL> 
    

    SY.

  • "REPLACE CHARACTERS FOR 'U' if the value is not a 'F' or me"

    Hi all

    I need a function to replace all characters to U if its not F or M

    The function should be similar below. But donno to form a regular expressiion above that can be placed in the second parameter.
    REGEXP_REPLACE('R','[^FM]','U')


    Entry
    F
    R
    M

    M
    A
    B

    Output
    F
    U
    M
    U
    M
    U
    U


    Thank you
    CDPrasad

    Published by: cdprasad on January 23, 2011 07:28

    Why would you use a regular expression (cpu-crushing) here?
    Looks like you can do it easily with the CASE:

    SQL> create table t as
      2  select 'F' col from dual union all
      3  select 'R' from dual union all
      4  select 'M' from dual union all
      5  select  null from dual union all
      6  select 'M' from dual union all
      7  select 'A' from dual union all
      8  select 'B' from dual;
    
    Table created.
    
    SQL>
    SQL> select col
      2  ,      case
      3           when col not in ('F', 'M')
      4           or col is null
      5           then 'U'
      6           else col
      7         end
      8  from   t; 
    
    C C
    - -
    F F
    R U
    M M
      U
    M M
    A U
    B U
    
    7 rows selected.
    

Maybe you are looking for

  • Help PSU p6310y HP upgrade!

    I need to know what power supply (600W) corresponds to my case because I improve my 9100 the EVGA GTS 250 graphics card. any help would be appreciated! Thank you!

  • Where can I find the option customize in Windows Vista?

    Where can I find the Customize option?

  • Vista to 7

    Hello, I have a desktop pc with vista preinstalled and a laptop with windows 7 pre-installed, which did not include the 7 installation disk windows... I want to install windows 7 on vista... is there anythwere in my laptop the windows installation fi

  • How to solve "System disabled Code 00291"

    HP Pavillion Zd8060USA Llaptop Pentiun 4 HT processor 3.2GHz P/N PR315UA #ABA S/N CNF5020QT1 I had entered the password password BIOS enter in the box, then again in the confirmation box.  I stopped and restarted the system and entered the password. 

  • ConnectionSuffix JM2E

    Hello It is possible use this code with SDK JM2E or SDK Blackberry. A way to get compatible code? String updateConnectionSuffix(){if (DeviceInfo.isSimulator()) { connSuffix = ";deviceside=true";} elseif ( (WLANInfo.getWLANState() == WLANInfo.WLAN_STA