Strange number rounding problem

I am using CR 8.5 and I have a number field inserted into the detail section of my report.
Although rounding is set to 0.001 in the number format, the field displays rounded to the nearest whole number (e.g. 11.235 is displayed as 11.000). I have checked the field in the underlying tables and inserted the same field into another report without any problems.
I've used different number formats in hundreds of reports without any problems, the only difference here is that the report was set-up by another user on another PC (but using the same version of Crystal).
I suspect that rewriting the report from scratch would solve the problem, but I'd rather avoid this.
Any suggestions?

Hi
Have you tried this:
1. Right click on the field -> Format field -> Customize -> Rounding -> select the format that is required.
Hope it helps!!!
Regards
Sourashree

Similar Messages

  • EPOS Java Number Rounding Problem

    I am developing a java EPOS system and am having a strange issue with number accuracy that doesnt make any sense to me.
    On a till system you have a user display of the form
    0000000.00
    When you type into this for example the number 7 then the number 8 it goes
    0000000.07
    0000000.78
    Moving along the screen.
    I cant figure out how to represent this accurately (ie using floats) but still have the functionality to append onto the float, not add to it.
    i have come up with the following
            Float tempNum = currentNum*10;
            StringBuffer sb = new StringBuffer(tempNum.toString());
            sb.append(i);
            String s = sb.toString();
            currentNum = Float.valueOf(s).floatValue();
            updateOutputs();With the basic idea being casting to a string buffer, appending then casting back of sorts but i get accuracy issues...
    Pressing 7 a whole bunch of times gives 7777.9995 not 7777.77 etc
    I know there must be a simple and more elegant way to solve this problem but i just cant seem to think around it right now.
    Thanks

    This is an input panel on an EPOS system, but as im designing it for touch screen it has an on screen number pad and display of the number.
    When the buttons are pressed for the numbers that number is appended to the internal integer storage value. Also the output string is updated.
    Most till systems allow you to enter up to X digits until then ignore what you type or print an error, so i am happy to follow this behavior but require the digit count.
    I hope that makes sense but if not my gui is similar to these...
    http://www.tillrollshop.co.uk/asps/uploads/big/1205-1.jpg
    http://www.mi-store.com/mi-store/Till_Main.jpg
    The second image shows a number pad and label just like mine.
    Thanks

  • IPhone Dev Certification problem (strange number following the common name)

    Hi,
    I have requested a certification for my iPhone Dev.
    After I downloaded from dev center portal, I found that the certification approved by Team Admin
    is like that:
    iPhone Developer: FirstName LastName (Strange Number)
    I didn't input such number while requesting the Certification. Does anyone know where is the number from? And could this number cause any problem in my further signing process?
    Why I worry about my certification is I got some error in XCode Organizer like:
    A signing identity matching this profile could not be found in your keychain
    when I installed my provision file with that certification in Xcode.
    I suspect that the strange certification cause the problem.
    Any suggestion about it?
    Thanks,
    Jack

    This is exactly what happens when sharing a single Apple ID for iCloud and iMessage.  Why would you expect any different?

  • Strange borders round text boxes

    Take a look on this interactive map
    http://edu.com.pl/nabor/ using
    Flash Player 8 and Flash Player 9. In 9 there are strange borders
    round text boxes. Don't know where the problem might be.
    I don't see any smilar problem on my other Flash
    sites.

    PD,
    The outline of a Text Box is termed a "Stroke" and is set in the Graphic Inspector. There you can set a plain border or a styled one, like a picture frame, etc., or none at all.
    The fine line around the text box that you see when you select it is just for your reference when editing and won't print.
    Jerry
    Message was edited by: Jerrold Green1

  • Call drop while talking long distance and strange number in log

    Talking to relative in NY, call dropped with no dial tone after that.  Unplugged all phones, checked the connection box.  Dial tone came back after about 15 minutes.  Checking the digital phone log revealed that {edited for privacy}was listed as being called 7 times during the time of no dial tone.  Looking at the log again showed that {edited for privacy} was called eight times yesterday.  About a call a minute to this number.  Have no idea what this number is.  It seems that everytime the calls are dropped, this is the number in the log.  What is happening? 

    The alarm system checks out OK, strange number was just the system making the regular 28 day call.  Calls are still dropping, mostly after talking for a long time.  Can call the number back immediately and get connected.  Dial tone is not missing for these latest incidents, althought it was missing once in the past.   Also have an answering machine that  clicks at random as if someone is picking up a phone.  Answering machine is set to 4 rings and digial voice answering is set to 6 rings.  The whole system worked fine when installed, now is a constant problem.  Going to start disconnecting things and probably run a wire from the box directly to one phone.  Is there a tracer that can be hooked up to monitor the line?

  • Acrobat Pro 6 Average Daily Production and Math.round problem

    Acrobat Pro 6 Average Daily Production and Math.round problem
    (Production.0) (154) (whole units) . (Production.1) (90) (fractional) / (divided by) 31 (days) results in (Average.0) (4)(whole units) . (Average.1) (10) (fractional) using :Math.round.� Noticed that 154 (whole units) . 85 through 99 (fractional) also show 4.10. (without Math.round : 5.00)
    Method:
    �Production.0� (whole units) . �Production .1� (fractional) / Days = (Average Daily Production) (�Average.0� (whole units) . (Average.1) (fractional)
    � Production.0 (value not calculated)�, � Production 1 (calculated) (event.value = util.printx("0099", (event.value)).substr(-2,2); � �Average.0 (value not calculate)�, and �Average.1 has following calculation:
    var punits = this.getField("Production.0");
    var pfrac = this.getField("Production.1");
    var average = 0.0;
    average = (punits.value + pfrac.value / 100) / this.getField("Days").value;
    this.getField("Average.0").value = average - average % 1;
    this.getField("Average.1").value = util.printx("0099", Math.round((average % 1 * 100))).substr(-2,2);
    �Math.round� appears to be a problem. Also, could you explain the purpose of �0099� . Anyway, why would 154.85 through 154.90 divided by 31 give 4,10. Also, their must be a better way, to find the average daily production. All you have to do is divided the production (whole. fractional) by the days, and display the average daily production as (whole. fractional). Any suggestions??

    There are a many loose ends in your question.
    First, I have never seen before a variable type called 'var'. Is it a java primitive or a class?
    Next, I cannot seem to find any class that has the printx method.
    When it comes to substr(-2,2), I get confused. First, I thought that it was a method of the String class, but I only got as far as substring(beginIndex, endIndex).
    If you really must break the production and average into pieces, try this:
    float average = (punits + pfrac/100) / days;
    int avg_units = (int)average;
    int avg_frac = (int)( (average - avg_units) * 100 );My guess is that util.printx("0099", x) formats x having two optional digits and two mandatory digits, showing 0-99 as 00-99, but allows to show numbers with three and four digits.
    154.85/31 = 4,9951612903225806451612903225806
    154.99/31= 4,9996774193548387096774193548387
    If you round the fraction of theese numbers multiplied by 100 ( = 99.51.. and 99.968...) you get 100, and this will be the output of printx. My guess for "4.10" is that substr(-2,2) returns the two first characters of the string, because the start index should not be zero. (According to java docs, substring throws an exception on a negative index, so what kind of class are you really using ??????)

  • Billing Number Range problem ( accounting document not generated)

    Hi All,
    I have created some billing types and for them I have assigned some internal number ranges. Now when I create a billing document it is getting saved with the proper number range but no accounting document is getting generated.
    Also when I try to release the invoice I am getting an error which says " *Incorrect doc.no.: 10000009. Select document number between 0090000000 and 0099999999* "
    K I N D L Y     suggest  as U R G E N T.
    Regards,
    Danny.

    Dear,
              Billing Number Range problem ( accounting document not generated) is not an error because when you create billing document then accounting document not generated. Accounting done after posting of that billing document with VFX3 or VF02 T.Code by account department.
               And for second issue you had define number range between 0090000000 and 0099999999 for invoice so thats why it happen.
    Regards,
    Sandip Shaktavat

  • Solution Database - Maximum number of Problems and Solutions

    Hi everyone,
    I´m new at CRM and I was wondering if you could help me sharing your knowledge and experience on this.
    I completed the SAF and solution database configuration , I was wondering if there´s a maximum number of problems when creating problems and solutions on IS01? Also Can I have 2 or more solution data bases (with different problems and solutions) assigned for a business role?
    comments are appreciated
    thanks!

    http://help.sap.com/saphelp_crmhana/helpdata/en/a4/9fa471b41f44828da6ea1490f02e2b/frameset.htm
    What about this?
    Best regards,
    Thomas Wagner

  • Please, I am in a very big problem I designed the project by Adobe director And you test the software on the computers on Windows and works with high quality When I tested the project on Apple Macintosh operating system, Li appeared a number of problems

    Please, I am in a very big problem
    I designed the project by Adobe director
    And you test the software on the computers on Windows and works with high quality
    When I tested the project on Apple Macintosh operating system, Li appeared a number of problems and you dissolve a large part of them
    But I have a problem too big
    The project works on some devices and others show me messages mistakes and why chasm different operating system version
    Apple's Macintosh and these messages
    "biosegnatures" can't be opened becouse it 's from undefined developer "
    others
    shokwave player error
    pleas what can i do

    Welcome to the Support Communities.
    m.raslan wrote:
    I tested the project on Apple Macintosh operating system
    Click on the  menu at top left of your screen, choose About This Mac and, in the panel that appears, note the Version no. in the form 10.n.n. Then update your product list so we can see what version of OS X you're running on the Mac — see this tutorial:
    Update your product list
    m.raslan wrote:
    "biosegnatures" can't be opened becouse it 's from undefined developer "
    This Apple doc may help:
    OS X: About Gatekeeper
    m.raslan wrote:
    shokwave player error
    Is Shockwave Player installed?...
    http://www.adobe.com/shockwave/welcome/
    ...If not, get it here:
    http://get.adobe.com/shockwave/

  • I have a strange 3g data problem.

    I have a strange 3g data problem.  At home I have zero 3G connectivity even though all bars are showing and says "3G" and wifi is "Off" ... unless I am on the phone and then magically the 3G data connection works perfectly!!  Does anyone have any idea what is happening?  Also when I bring my phone to my dad's or my friends house the problem disappears!! Is this a hardware or a AT&T network problem? os is 4.3.3
    Also called ATT and they said there was no problem with the network and that it was a hardware issue.  Also restored the phone several times but the problem did not go away.

    OK, no trouble shooting. The first thing I'd attempt is restarting in Safe Mode. If you still don't have luck try doing both a SMC and PRAM reset, it wouldn't hurt to do the SMC reset a couple of times. If still no luck let us know.
    SMC RESET
    Shut down the computer.
    Unplug the computer's power cord and all peripherals.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Attach the computers power cable.
    Press the power button to turn on the computer.
    PRAM RESET
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Rounding problems

    Dear all,
    We are using the BAPI_ACC_DOCUMENT_POST  to do a reclassification posting F-02 for manager motives.
    We need to calculate the exchange tax. We do Amount in Local Currency / Amount in Forreing Currency.
    The problem is that in the BADI  LV_EXCH_RATE has 13 decimals but GS_CURR-EXCH_RATE moves only 5 decimals so we have rounding problems. We are doing the accounting with GS_CURR-EXCH_RATE that has only 5 decimals.
    Someone know how to move more than 5 decimals on the posting.
    Cheers,
    marta

    Marta,
    why not try to round the variable before you pass it to the badi or round the o/p of the badi before passing it to further processing.
    You can use the formatting options in the write statement CURR/DEC/ROUND to do this in a local variable and then pass the local variable to the badi or pass the o/p of the badi to a local variable, then round it and then use this rounded value.
    Thanks,
    Vikram.M

  • Ipad mini ios7.3. Itunes shows 6.1.3. I've got a number of problems. Is this the Phobos problem I have?

    Ipad mini ios7.3. Itunes shows 6.1.3. I've got a number of problems. Is this the Phobos problem I have?

    Update iTune on your computer (tap image to enlarge)

  • Tecnical problem field KOMVD-kbetr strange number conversion... why?????!!

    Good morning i'm using the standerd program RVADOR01 to print the order confirme.
    i have to do some modifications at the sapscript, i have also show the customer discount.
    I don't understand why in va02 the customer discount (KOMVD-kbetr ) is filled for excample with "20,000-" but when ii's readed the field in the program it read "200,00-"  but the user have inserted in va02 "20,000-"!!  How i print correctly the field?
    Help me thanks!

    kwert contains "KWERT     P     7               44.00-" i have to print the percentage of discount that is contained in the field "KBETR     P     6            200.00-". the sapscript when is called the element 'ITEM_LINE_PRICE_QUANTITY' contains "200.00-" but in the sapscript will be printed '20,000-', i debuged it.
    i report below the code:
          FORM ITEM_PRICE_PRINT                                         *
          Printout of the item prices                                   *
    FORM ITEM_PRICE_PRINT.
      LOOP AT TKOMVD.
        KOMVD = TKOMVD.
        IF SY-TABIX = 1 AND
         ( KOMVD-KOAID = CHARB OR
           KOMVD-KSCHL = SPACE ).
          CALL FUNCTION 'WRITE_FORM'
               EXPORTING
                    ELEMENT = 'ITEM_LINE_PRICE_QUANTITY'.
        ELSE.
          IF KOMVD-KNTYP NE 'f'.
            CALL FUNCTION 'WRITE_FORM'
                 EXPORTING
                      ELEMENT = 'ITEM_LINE_PRICE_TEXT'.
          ELSE.
            CALL FUNCTION 'WRITE_FORM'
                 EXPORTING
                      ELEMENT = 'ITEM_LINE_REBATE_IN_KIND'.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM.
    And below the sapscript (MAIN WINDOW):
    /E           ITEM_LINE_PRICE_TEXT
    IP           ,,&KOMVD-VTEXT(17)&,,,,,,&KOMVD-KBETR(I12)&,,&KOMVD-KOEIN& ,,
    =           &KOMVD-KPEIN(I)&,,&KOMVD-KMEIN&,,&KOMVD-KWERT(I14)&
    The problem is that i want to print it in custom fields, in the element "ITEM_LINE" but the same value is not converted!  the custom field is declared like KOMVD-KBETR....
    thanks all experts

  • Strange audi sync problem & different, stranger video sync issu in sequence

    I have two strange occurances with one particular set of media that was downloaded from the same original source mini-dv (recording in dvcam) tape. I have not found the same issue on any other footage.
    1) when the media is imported into FCP, the audio is out of sync. it is slightly out at the beginning and then gets progressively worse.
    2) when this footage is used in a sequence, the video that show in the sequence is not the same as the video that is exported when this sequence is exported as QT movie (or any other export option) Like the audio the video out of sync gets progressively worse.
    - The original media is perfectly in sync looking at the digitized source ie: in Quicktime. There is no audio out of sync problem.
    - the only difference I could see in the file was that this media is 3.5mb data rate whereas all the others are 3.6mb.
    - other tapes from the same camera do not have a problem
    - I do all my downloading from a firewire deck and not from the camera
    - I upgraded from 6.0.1 to 6.0.4 (as did the QT 7.5 upgrade also) to see if that fixed the problem but to no avail.
    Very perplexing. I managed to work around this problem in a sequence whos deadline was looming by manually slipping the footage in the sequence the required number of frames. This is where it also gets odd. I was able to do this by
    - double click the clip in the sequence which then loaded that into the viewer.
    - position the playhead at the beginning of the clip
    - from the canvas select the go to position in master clip option which then loaded the masterclip into the viewer. the position in the masterclip was always the correct frame (ie the frame I expected to see as per my edit). The frame showing in the canvas was also the correct frame (but this would not be the case when exported)
    - the next thing i did was to use the slip tool, as soon as i held the slip tool over the sequence clip, the frame in the canvas would be the wrong frame (the frame i would see when I exported).
    - then i would just carefully slip the sequence clip back to the matching correct frame. So watching in the viewer, I would align the frame that showed in the viewer to the frame in the canvas.
    When done the frame showing in my sequence would be a completely different frame but when exported, the frame that I expected to see would be the exported frame.
    I could find no logic to the amount I needed to slip each time (I am sure there is logic but I couldnt figure out what that was). the clip at the end of the footage needed to be slipped -10:09, and this got progressively smaller to the clip at the beginning of footage needing to be slipped -:16
    Hopefully that wasnt too confusing.

    btw, i have tried recapturing the footage and i have offlined it, copied it to another location and onlined it in the new location to no avail. still have the sync and video in sequence issues.

  • Large number display problem

    I get an number from my db column (SQL2000), and I need to display a accumulative sum of that column.
    I am now facing a problem of the automatic convertion of the sum when it is greater than 9999999.
    For example, when the sum is now 12345678 it will automatically convert it into 1.2345678E8.
    Please tell me how to solve it. I want the float to display exactly 12345678.
    Besides, when I want to display the float as in the format of 12,345,678, please tell me how I can do it.
    I list part of my coding for your reference.
    float accumTot = 0;
    accumTot = accumTot + Float.parseFloat(salamt.getTotAmt());
    out.println("<td width='15%'><p>"+accumTot+"</p></td>");
    Many Thanks

    java.text.NumberFormat will have your solution:
    NumberFormat nf = NumberFormat.getInstance();
    <%= nf.format(accumTot) %>
    Be aware of the rounding errors involved in using floating point:
    What Every Computer Scientist Should Know About Floating-Point Arithmetic
    Are the numbers whole numbers (ie no decimals)? then you should be using an int/long
    Otherwise you should probably be using doubles.

Maybe you are looking for