Calculate and compare

Hi i need a program who calculate and compare just that simple i try to read the tutorials but not luck learning if some have one and can post it :D Thx alot <3

> first one:
Many Java homeworks will give student most of the
code and ask them to finish rest. I think this one is
clearly the case since the asker did not show any
effort he had put in writing that code. And if he can
write that code, I don't believe he can not solve theproblem he asked himself.
I'm pretty sure that the code posted in that thread was NOT supplied by the teacher/professor of the class; it looks far too messy.
> For 2nd one.
I suggested the asker to change the question and ask
it more clearly. I also don't think he knows the
Java very well. His question should be a Java concept
related question instead of JFree graph lib
question.. And because the way he asked, he did not
get any replies after 6 hours (that's why I suggested
him to change the question).. Maybe I should suggest
in a nicer way?
It has nothing to do with nice or rude. I just didn't understand what you were talking about.
> Furthermore, why do you only look at that one
question and ignore others? :)
Believe me, a lot of your other answers (not all!) are like that.
> Those who don't want to anywork themselves deserved
to be offened. I am delight to know that I did not
offend you since you are also a regular helper here.
You shouldn't be worried to only offend regulars, IMO.

Similar Messages

  • Excise duty caluclate and compare between Amount (JEXQ ) and JEXP

    Dear all,
    We are implementing SAP SD module for cement industry
    So we have special requirement Regarding to Excise Duty
    BED     JEXQ    IS      600 ( with respect to price value)
                JEXP    IS      12% ON MRP.( it should calculate on MRP price)
    For this we have two pricing condition types
    one is normal price
    another one is MRP ( it is statical)
    both should calculate  and compare between both,
    and finally value is not more then 600
    We are using TAXINN  Pricing procedure,
    please suggest me for solution ,
    Regards,
    GANGI

    Hi
    Can u pls chk in your pricing procedure weather the stastics chk box is ticked for the respective condition type.
    If so pls remove and try again.
    Vijay

  • How to import a image and compare with another image to find their deviation

    i am new to labview , can anyone tell how to import a image and compare  it with another image  to find their deviation
    Solved!
    Go to Solution.

    This is an quite easy task using the Vision Development Module.
    There you can acquire images from cameras or read them form the harddrive, then differntiate them or since VDM 2010 calculate the optical flow between consecutive images.
    Christian

  • Date fields and compare and get the later date of the fields

    I am trying to compare these date fields and compare and get the later date of the fields
    Tables are
    TABCASER
    TABCASER1
    EVCASERS
    Field
    Are
    TABCASER1.CASER_no
    The dates are to be compared and then get the records with the highest or latest date value.
    TABCASER1.CASERRECIEVEDDATE
    EVCASERS.FINALEVDATES
    EVCASERS.PUBLICATIONDATE
    EVCASERS.PUBLICATIONDATE
    TABCASER.COMPAREACCEPDATE
    I have this code but I am trying to figure out what it all means.
    I have several questions.
    1.
    1.     greatest it is used here to compare right? How do I then output this ? do I store it to a var (coldfusion) ultimately , I wish to send it to a page of records
    2.     is it necessary to use todate? And to_date? What does this do?
    3.     decode, is this necessary too. What does this do? NULL?
    4.     
    5.     
    6.     when I do get the query results how do I send it to coldsuion and out put to a display.
    Someone sent me this code.
    is there abetter way of doing this? To compare the dates and store in a var to display. thanks
    Here is my code below:
    Greatest(
         CASE
              WHEN INSTR(TABCASER1.CASER_no,'-CE') > 0 THEN
         decode(TABCASER1.CASERRECIEVEDDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),TABCASER1.CASERRECIEVEDDATE)
                             WHEN INSTR(TABCASER1.CASER_no,'-ERNIE') > 0 THEN
         decode(EVCASERS.FINALEVDATES,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),EVCASERS.FINALEVDATES)
                             WHEN INSTR(TABCASER1.CASER_no,'-MONIE') > 0 THEN
         decode(EVCASERS.PUBLICATIONDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),EVCASERS.PUBLICATIONDATE)
                             WHEN INSTR(TABCASER1.CASER_no,'-NADINE') > 0 THEN
         decode(EVCASERS.PUBLICATIONDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),EVCASERS.PUBLICATIONDATE)
                             ELSE
         decode(TABCASER.COMPAREACCEPDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),TABCASER.COMPAREACCEPDATE)
                        END
              ,decode(TABCASER.COMPAREACCEPDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),TABCASER.COMPAREACCEPDATE))
              between TO_DATE('#dateformat(form.startDate,"mm/dd/yyyy")#','MM/DD/YYYY') and TO_DATE('#dateformat(form.endDate,"mm/dd/yyyy")#','MM/DD/YYYY')
    is there abetter way of doing this? To compare the dates and store in a var to display. thanks

    Hi
    If you have date datatypes than:
    select
    greatest(TABCASER1.CASERRECIEVEDDATE, EVCASERS.FINALEVDATES, EVCASERS.PUBLICATIONDATE, EVCASERS.PUBLICATIONDATE, TABCASER.COMPAREACCEPDATE)
    from TABCASER, TABCASER1, EVCASERS
    where ...-- join and other conditions
    1. greatest is good enough
    2. to_date creates date dataype from string with the format of format string ('mm/dd/yyyy')
    3. decode(a, b, c, d) is a function: if a = b than return c else d. NULL means that there is no data in the cell of the table.
    6. to format the date for display use to_char function with format modell as in the to_date function.
    Ott Karesz
    http://www.trendo-kft.hu

  • How to calculate and update value of the field2 based on what user enters i

    I have a field1 (date type) in page1, while saving this value to the table, I also need to update other field (field2) based on field1 on the same table. (for ex. field2 is 60 days greater than field1).
    Also on next page I want to display field2 as read only (grayed out)...
    I tried to display value of field2 on next page using "ITEM" of page1, but that is not what I need..
    While proccesing page1 I need to calculate and save value of field2, and then on next page display it from the table (not from previous page's item)
    Could you please either help or point me to the document that has a similar example?
    Thank you very much.

    how are you updating the row..
    if its using the commit button then have an actionlistener and then derive and assign the value to the particular column of the row..
          DCIteratorBinding dciter;
          BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
          dciter = (DCIteratorBinding) bindings.get("lineItemIterator");
            dciter.getCurrentRow().setAttribute("column4", value);

  • Register and Compare Time

    Hello people,
    I want to register the time into a variable when a user clicks into a button and, when he clicks again, compare the time with the last time (registered into a variable).
    How do I save time (hh:mm:ss) into a var and compare with another var?
    Thank's.

    http://java.sun.com/javase/6/docs/api/java/util/Date.html#after(java.util.Date)
    http://java.sun.com/javase/6/docs/api/java/util/Date.html#before(java.util.Date)

  • Project Documentation tab: can you 'freeze' a graph so another can be added and compared against?

    I've been using the Project Documentation view recently to quickly compare dc signals against changes that I make to an electrical system. What I'm trying to do is capture a few seconds of a DC signal, stop acquisition, make a change in the system, then capture a few more seconds of the same signal and compare the two.
    Project Documentation view is nice because I can drag the graphs onto the document for quick on the fly comparison.
    Problem is, I drag a acquired signal's graph onto the document expecting the waveform to 'freeze' so that I can capture another segment of data and drag that graph onto the document for comparison. But once I acquire this second burst of data the first graph captures the live waveform, overwriting the baseline waveform I'm trying to compare against.
    Is there a way to screencapture or freeze the graph so that multiple graphs can be stacked within the document form without them all updating?
    SCXI- 1000 Chassis w/ 1346 adapter
    PCI 6281 DAQ card
    SCXI- 1520 Bridge Board w/ 1314 Terminal Block (x2)
    SCXI- 1180 Feedthrough Panel w/ 1302 Block
    Signal Express 2014.
    Win7 Enterprise

    Hi OKors,
    I’m not sure if you can do exactly what you want. If it were me, I would take the first reading, then save it to an LVM file, then take the second reading, store that to an LVM file, then load the files to compare.
    TimC
    National Instruments
    Applications Engineer

  • Convert char to quantity(15) and compare

    Hi Expert!,
           I have to convert Char30 format to quantity15 format and compare those to value.
          I have written code below . is the right ? is there any
    data: x_objdata_ausp_1 TYPE char30,
           l_ausp_1          type p decimals 3,
           l_vbap_kwmeng     type p decimals 3,
           x_vbap_kwmeng     type vbap-kwmeng.
    x_objdata_ausp_1 = '1.500'.  "char30 type data
    move x_objdata_ausp1 to l_ausp_1.
    l_ausp_1 = l_ausp_1 * 1000.
    x_vbap_kwmeng  = '1600.000'.   "quan(15) type data.
    move x_vbap_kwmeng to l_vbap_kwmeng.
       if l_vbap_kwmeng > l_ausp_1.
          write: 'item quantity is greater than characteristic value'.
    else.
          write: 'Item quantity is less than characteristic value'.
       endif.

    Hi Mithilesh,
    I have checked your code and it's working fine.
    you can use it.It's good that your converting both variables in  packed.
    Thanks.
    Anurag

  • RFC comparing Purchase Order from server D10 and compare the PO E10 server

    Hi Gurus,
    I want to fetch data of Purchase order from D10 system client 058 and compare whether the same Purchaser order is also present in E10 system clilent 078.
    Please send me the sample code how to retrieve the code from different servers using RFC. I am new to RFC, please guide me same code.
    Regards,
    Prasad
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jan 30, 2008 4:24 PM

    Hello Arza
    You can use BAPI BAPI_PO_GETDETAIL to retrieve the PO data from the two (remote)systems.
    During an important migration project I had to compare whether the PO data were the same on the old and new SAP system.
    For this purpose I used the BAPI to retrieve the PO data, initialized all data of which I new they would differ between the old and the new system (e.g. time stamps, date, time).
    Next I defined a complex structure which contained all PO data that I wanted to compare.
    Each PO gave one record which I collected into an itab.
    Finally I transformed the itab data into a single XML file for the data from the old and the new system. Then I took an XML editor (e.g. Oxygen) and made a diff analysis of the two XML files which showed me every difference.
    This way I was able to compare thousands of PO's within a few hours.
    Regards
      Uwe

  • How to get count,index and compare to arraylists

    hi
    how to get count,index and comparing of 2 arraylist.... plz suggest me asap...

    How is your question related to JDBC? And what have you done so far with your code?

  • Calculate and analyse variances for PM orders

    Dear all,
    How the Costs and activity planning can be done for all PM orders and Calculate and analyse variances
    on periodical basis??
    Thanks and regards

    hi
    Activity price is calculated by planning for activity and cost center and when the workcenter relevant is specified in the work order.
    in normal scenario Variance calculation has little scope for plant maintenance
    regards
    thyagarajan

  • Whats the difference between comparable and comparator?

    whats the difference between comparable and comparator?
    when must i use comparable, and when must i use comparator?

    whats the difference between comparable and
    comparator?Comparable is from the java.lang package, Comparator from java.util.
    when must i use comparable, and when must i use
    comparator?Here's a tutorial on both:
    http://java.sun.com/docs/books/tutorial/collections/interfaces/order.html

  • I want to make 2 thesaurus and compare between them?????????Help

    Hi everybody,
    I have a Problem,I want to make 2 thesaurus and compare between them.
    I mean : I have a File Like This-----with lexicographical Order----
    ENG GERMAN
    Any Jede
    I ich
    Two Zwei
    when i write a sentence an german the Program must look the synonym of English an write it.
    Please help me as soon as possible
    Thanks

    Cross posted:
    http://forum.java.sun.com/thread.jspa?threadID=5259185 http://forum.java.sun.com/thread.jspa?threadID=5259240

  • Comparable and comparator interface in java

    Hi All,
    How comparable and comparator interface works in java and when to use comparable and when to use comparator.please give me some example(code) as I am not able to understand the difference.
    Thanks
    Sumit
    Edited by: sumit7nov on May 17, 2009 4:45 AM

    Thanks,one more doubt.
    We have Collections.sort() method and we can sort any list by this method without implementing comparable or comparator interface.Then my question is when we need to implement comparable or comparator interface or when do we write our own compareTo() or compare() methods.
    Thanks
    Sumit

  • Needed to construct a signal and compare to another signal.

    i have some signal data stored as txt file .i needed to construct this signal and compare to another signal.this is a vibration signal.how to start? could anybody help?

    Well you will need to break this into pieces. First you will need to read the text file. How was it saved (method) in the first place? Does it have the timing information you need to recreate a waveform? You would need to parse out the amplitude information, the dt and t0 and feed it into the build waveform function. Could you post a small example of your txt file? Also include what version of LabVIEW you are using e.g. 8.5 professional.
    Using LabVIEW 2010SP1 and TestStand 4.5

Maybe you are looking for

  • Premiere Elements 11 App Crash

    I just purchased Premiere Elements 11 and cannot get it to work on my PC.  Every time I attempt to launch it, the program crashes. My PC: HP HDX 16-1200 Intel Centrino 2 Dual Core 64 Bit Processor Windows 7 64 Bit NVidia 9600M GT with latest driver F

  • Transaction FBL1N not displaying offset account  after implementing BADI

    hi everyone I have followd the SAP note 112312 to implement a BADI  FI_ITEMS_CH_DATA in a BTE to make the fields Offset account to display When I went into debug mode, the table in the BADI is well populated with the offset account - gkont and gkart

  • Error while Accepting the posed Service Entry Sheet

    Hi  Guys! I created a PO for Services(not service based IV, only GR based IV only checked) , entered SES & at the time of Accepting the SES showing error is  Purchasing Document Ordered quantity exceeded by 1 Activity Unit (Message no. M7022), but ac

  • PDE-UJ1001, while trying to import java classes.

    Hi, When I try to import java classes into forms using the java importer, I get an error stating PDE-UJ1001-Failed to create JVM. I tried installing a patch in Developer 2000(Path 4a). But still it doesnt work. Could anybody guide me in this? Thanks,

  • I have intenosmb shared location in finder. What is it?

    I find intenosmb location in shared locations in finders list. In info it says that it is PC. Is it some kind of a threat?