Q of Q round number issue

Hi All,
I cannot use round function in Query of Query. I can cast the number as integer like:
<cfquery dbtype="query">
     select cast(myValue as integer) finalNumber
     from myQuery
</cfquery>
where myValue = 65.7, but the result is 65, it should be 66.
It is a work around this issue?
Thanks!

Here is my code solution Dan:
     <cfloop from="1" to="#totalYears#" index="y">
            <cfset tempYear = qryResult["year_" & #y#] />
            <cfset QuerySetCell(firstQuery, "year_#y#", round(tempYear))>
        </cfloop>
Thanks!

Similar Messages

  • CSS rounded border issue

    I've got a CSS rounded border issue. Safari (4.0.3) is drawing a slight white artifact on the rounded corners. Look at the comparison between the Safari screenshot and the Firefox (3.5.x) screenshot (look at the border on the Watch button):
    http://www.prototypos.com/screenshots/safariroundedborder.png
    http://www.prototypos.com/screenshots/firefoxroundedborder.png
    Do folks on the Apple Safari dev team read this site? If so, I'd appreciate it if they take a look at this issue.
    thanks, Chuck
    Message was edited by: Dr. Chuck
    Message was edited by: Dr. Chuck

    Are you doing this with CSS3 ? If your using CSS 3 you know it hasn't really been fully implemented in all browsers, (even if they say so). Even tho CSS 3 is out and running, I myself tend to shy away from stuff like round corners.
    No Apple won't see this.

  • 2 issues - Invalid Serial Number issue & Lightroom 5 Trial vs full version folder hierarchy question

    Hello
    not sure if I should split these two questions...
    1 - Invalid Serial Number issue
    I'm helping out a friend with their large photo collection and they bought Lightroom 5 and received the serial number but when we add this to Lightroom it states that it's invalid - I tried leaving it until the following week (I visit them weekly) and it still refusing the number - when I went into their Adobe account and took a look at downloads the option to download the full version is greyed out (or an x - I'm not sat on their computer right now so can't double check) but it wouldn't allow me to do anything so we just had the trial version.
    anyone know what the issue is - shall I get them to contact Adobe to get them to take a look - I also had issues trying to find a customer support email address lol. (I seem to faffing with lots of websites/software/companies this week so getting a little frazzled!)
    2 - Lightroom 5 Trial vs full version folder hierarchy question
    This question is linked to the above i- I am wondering if the folders in Lightroom are different in the trial version vs the fully paid version.
    I had set up some greeting card templates and contact sheet layouts for my friend and tried to transfer them to her computer but whilst, LR 'sees' the folders it just doesn't acknowledge the templates - I tried it several ways but I've not had that issue before so will that sort itself when I get the serial number fixed?
    Thank you for any help or suggestions - hope you all have a good weekend :-)
    Lenny

    Hi Lenny, the two questions may be related but the trial is actually the same as the full version. I would suggest getting the serial number issue sorted out first. There have been known issues where a paid for product still shows up as a trial.There is not a lot the community can do. You need to contact Adobe directly using the link below. Use the dropdown menu for boxes (1) & (2) to scroll down the list and choose:
    1. Adobe Photoshop Lightroom
    2. Serial number issues or activating my product
    3. Click on the blue button: Still need help? Contact us – then click the button marked “chat now”
    It’s usually possible to start a live chat, if an Adobe agent is free, and often to get the problem fixed right away.
    Click here to get help now Contact Customer Care

  • Serial number issue in STO PGR

    HI
    I am facing serial number issue after doing PGR
    i am into STO process . Oce PGI for outbound delivery is created and then MIGO (PGR) will happen at recveing pant
    issue is after MIGO (PGR) the serial number status must be in AVLB ..but it is still in EDEL  ESTO ...
    The AVLB status must come automatically in the equipment master.

    Hi
    I am doing through PO...we don't have inbound delivery process ... so i do MIGO with reference to PO
    We have equipment master IE01/2.. plant is assigned  after MIGO  reeving plant is getting updated in the equipment master but the serial number status is not getting changed to AVLB.... also the serial number profile is with MMSL procedure.

  • Material Serial Number Issue.

    Dear Friends,
    Material Serial Number Issue.
    Its better to explain with the example.
    Material Number : ABCD with serial number as 123456
    There is a reservation for the Material ABCD from work order, now the warehouse person Goods Issues for the reservation ABCD with serial number 06-123456.(he issued wrong serial number)
    Correction action - Reverse Goods Issue for serial number 06-123456, now Goods issue for correct number as 123456. But the systems doesnot allows the serial number, error Material ABCD 123456 is already installed. Thenin  IQ09 the material ABCD with SNO 123456 is INSTL Status.
    Now question.
    1. In 1st place how system allows the Goods issue for particular reservation with different serial number?
    2. Without issuing the serial number 123456, how the status changed to INSTL???
    3. How to solve this problem, need to change the stauts of Material 123456 as ESTO, then i can do goods issue,. how to change the status??
    Regards,
    Saravanan.S

    Hi,
    Ask the workcentre to give that materail with 202 or 262 mvt to you. Now with the new reservation issue the required serial number material to site.
    System does not have the serial number in reservation slip.Manually u are assigning it diuring the MIGO.
    Ramesh

  • Unit price in Invoice form(Rounding up issues)

    Hi Gurus!
    In my smartform I have used a formula to get the unit price of an item line which is giving me rounding up issues as it is calulating upto the 3 decimal places that I require in my output. Is it possible to grab the unit price field (KEBTR) directly into my form for the unit price so that I get the actual amount as in SAP into my invoice output rather than caluclting it in my code so that there is no discripancies.
    Like it shows on my form sometimes 98.999 or sometime 99.001 instaed of 99.00 as is in under the condition tab of the invoice, I would like it to show straght as is in SAP 99.000 rather tahn doing caluction and coming to a smallest decimal value.
    CLEAR: g_unit_price, g_min_charge_flag, g_item_tot, g_skto_kwert.
    * get skto amount (Cash discount)
    LOOP AT gt_konv INTO gs_konv WHERE kposn = gs_gen_del-itm_number AND
    kschl = 'SKTO'.   "Cash discount
    g_skto_kwert = gs_konv-kwert.
    EXIT.
    ENDLOOP.
    * For rental contracts there is no delivery so surcharges must be removed from net.
    IF is_bil_invoice-hd_gen-bil_type = 'ZFV'.
    CLEAR gs_gen_del-kzwi3.
    LOOP AT gt_konv INTO gs_konv WHERE
    kposn = gs_gen_del-itm_number AND
    stunr BETWEEN 230 AND 289.
    gs_gen_del-kzwi3 = gs_gen_del-kzwi3 + gs_konv-kwert.
    ENDLOOP.
    ENDIF.
    g_item_tot = gs_gen_del-netwr - gs_gen_del-kzwi3.
    IF gs_gen_del-fkimg <> 0.
    g_unit_price = g_item_tot / gs_gen_del-fkimg.
    ENDIF.
    Thanks
    Edited by: Aarav  Agnihotri on Jun 11, 2009 6:58 PM

    Hi Aarav,
    Check this links
    [Rounding|Rounding]
    [Rounding off value|Re: Rounding off value]
    Read Above for a clear idea about Rounding values.
    [Rounding of the Values|Rounding of the Values]
    [Quantity & Rounding condition values|Re: Quantity & Rounding condition values]
    [Rounding down values|Re: Rounding down values]
    For More results Search In SDN...
    Thanks & regards,
    Dileep .C

  • My daugters ipod is missing, can it be traced by the number issued by the texting app?

    My daughter's iPod Touch is missing, can it be traced by the texting number issued to it through the texting app?

    No.
    http://support.apple.com/kb/HT2526?viewlocale=en_US
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • CS4 Extended Serial Number issue

    Hi
    while registering CS4 Extended I have a problem. As Upgrade Version only CS3 Extended is shown, not my valid CS3.
    Any ideas?

    Serial number issues can only be handled by calling Adobe.
    Bob

  • Rounding off Issue (Net Value not equal to Net Price * quantity)

    Dear Gurus,
    Here is an interesting issue.The default calculation done in the pricing procedure is two decimal places.Now we consider a real scneario,consider the net value of 324 quantities of an item calculated is 36,049.86 .When it is divided by quantity  the resulting value of net price is 111.265 but the system shows 111.27 by rounding it off.
    Now here comes the problem,my client needs the rate to be shown on the order script to be two decimal places and the net value should be equal  quantity * net price.So if we apply this,
    324 * 111.27 = 36051.48
    But the net value calculated by the system is 36,049.86.So it can be consluded that:
    "Quantity * Net Price Shown is not Equal to Net Value calculated by the System"
    Need an urgent resolution,project is stuck on this
    Regards,
    Sam Ahmed
    Edited by: Lakshmipathi on Nov 3, 2011 12:14 PM
    Please dont add URGENT in subject or in your post

    Here is the pricing procedure,
    We start with the amount condition types
                                            Unit Price        Units Condition Value
    ZMRP     MRP                     1,700.00           10     PAC     55,080.00      
    ZTRP     Trade Price     1,445.00           10     PAC     46,818.00      
    ZDPR     Dist. Price     1,445.00           10     PAC     46,818.00         (GL)
    Using Trade Price we apply the product discount of 23%
    ZPRD     Product Discount     23.000-     %                    10,768.14-
    Then we send discount amount to the gl by using condition type ZDIS
    ZDIS      Discount Value     100.000-     %           10,768.14-      (GL)
    tHE RESULTING NET VALUE IS  36,049.86      as 46818.00 - 10,768.14
         Order Item value     111.27      1     PAC     36,049.86      
    And the Net Price is 111.27

  • Batch number issue when posting goods receipt for Subcontracting PO

    Dear expert,
    I always heard there will be issues while posting goods receipt for subcontracting PO. If the component is managered by batch.
    No batch number will be proposed during PGR in MIGO...
    I dont quite understand where is the issue??
    My understanding:
    We have batch managered components and End Product. All have batch numbers, then we PGI the stock to 'SC stock' via 541 movement type.
    Then Vendor will finish the end product and send us back the end product.
    We consumption the components use 543 O movement type? And GR the end product..
    So while goods receipt, the sytem just need pick the existing batch number for both components and finish products..
    Where are the issues???
    Thanks.

    Hoo Laa wrote:
    I have questions for people always mentioning there are issues with batch determination while post goods receipt for subcontracting orders.
    >
    > I am thinking maybe they didnt active the batch determination for 543 movement type..
    >
    > Thanks.
    Hi Hoo,
    You are right!!
    Setting of batch number determination has its importance in Mvt Type be it 541, 543....
    The issue you might have observed would be with Batch Determination in Goods Issues which folks find it bit tough to achieve n make it work for them.
    Cheers!!
    Shiva

  • Cheque number issue

    Dear All,
    I have query regarding cheque cancel and update same cheque number with different pmt document number. Because my user is by mistake theywere updated with different payment document numbrs. My user is posting the transactions thru f-53 here we have pmt docs those are 1 and 2 and cheqe numbers 100001 and 100002. the user by mistake he is updated pmt documen 2 with 100001 cheque(this is document 1 related) and pmt document 1  with 100002(this is document 2 related) thru FCH5. Is there any possbility to cancel these details and update once again with appropriate cheques?.
    Kindly give me your valuable inputs.
    Regards,
    Nauma.

    Hello,
    I really do not understand the need for voiding the check.
    For example payment document 1 - Assigned check number 2
    Payment document 2 - Assigned check number 1
    As far as vendor is concerned, it is irrelevant for him / her, whether you issue check number 1 or 2. Vendors need their payment.
    Now the checks are encashed.
    If the checks are encashed and you have uploaded the bank statement, you cannot void the checks.
    Regards,
    Ravi

  • Re:Total(LC) Rounding off issue in Sale Order document ..!!!

    Dear SAP Members,
    My end user facing a issue while entering the sale order.The scenario is,For a item say 'X',its quantity is 24,unit price is 41.15,discount is 8%,then the total amount (ie)Total (LC) should be 908.59, but the system shows as 908.64.Why I'm getting this issue.
    I have given Rounding Method by currency.
    Display settings as:
    Amount-2
    Price-2
    Rates-4
    Quantities-2
    Percent-6
    Units-2
    Currency settings:
    Rounding Method-Round to one.
    Decimals-Default
    I have tried all possibilities in test database but still I'm facing the same issue..
    Please give me solution to solve this issue.
    With Regards,
    Revathy

    The software's logic is as follows it calculates the unit price after discount then times that rounded amount to the quantity. That is also why there is net unit price on the row level if you look in the DB. You could do a manual adjustment on the total but that will play abound with the discount a bit. Business one logic is very relational and because of the cascading of header tables and row level tables the calculations are not intuitive to most users. But on the upside you are guarantee consistent rounding by the software across the board.

  • Acrobat 9 Standard - Invalid Serial Number Issue

    I had Acrobat 9 standard on my machine and after a hard drive crash, I have not been able to re-install the app.  I keep on getting invalid serial number.  Can anyone help?

    has anybody found a solution? I'm having the same issue.

  • Has the photoshop elements 12 serial number issue been fixed? is there a version that works?

    I bought a new in the box photoshop elements 12 just before christmas new in the box from Amazon. I tried to install but it said the serial number was invalid. I talked to help staff for hours and could not get it to work. Did this issue ever get fixed? Is there a version of photoshop elements that will work? By work I mean when you enter the serial number on the package that you can install and the serial number will work. I am replacing photoshop elements 7 which says I have installed it too many times.
    Yes I have installed it many times, through computer upgrades (same home built computer) and many many many crashes... I need help

    Scroll down to "Chat now."
    Trials | Download, install

  • Alternative account number issue for GL master

    Hi,
    There is one GL.100000 is extended in two company codes.
    Company code : A (Balance available)
    Company code: B(Balance available)
    Whenever I change the alternative account in company code  A, it is accepting whereas company code  B is not accepting and showing error message : FH007.
    What might be the issue?
    Rgds
    Swapna.

    Hi,
      Postings might be done In the second company code. It might be the reason.
    Check with the below link
    Message no. FH007 while assigning Alternative account number
    GL Alternative Acct Number - error message FH007
    regards,
    Radhika.
    Edited by: Balaji Radhika on Apr 5, 2010 1:39 PM

Maybe you are looking for

  • Error while running reports in Portal

    Hi , While running a crystal reports in portal a pop-up appears with the following error message " Sorry = you are not logged into this server. Ensure that your user name and password, as well as the APS name are correct. " Can anyone help on this?

  • How to disable manual change in shipment address in delivery

    Hi Gurus, My client's current configuration allows changing the shipment address  (partner tab in header of delivery) on the address tab  - without changing the ship-to party itself They now want to implement a change where all partner details will n

  • Displaying selection screen data on alv header in multiple rows and columns

    Hi Presently in my requirement , whatever  the data entered in  selection screen  should display  on alv header  and item details on alv grid display. for eg... on alv header   customer no :  1000 to 2000         sales order no: 111   name :    gff t

  • Grid transition in Keynote 3

    Hi all, I was wondering if anyone else is missing the grid transition from Keynote 3? I have a presentation from Keynote 2 that has the grid transition on it. Yet when I open a new presentation in Keynote 3, the transition disappears. Anyone else see

  • How do I edit/write/fill in an Adobe questionnaire

    I was sent a form in Adobe format and asked to fill it out and email back.  I can't fill it out.  I don't know how to convert it so I can enter text.  Anyone help?  Thanks.