Floating point - Component qty

Dear S Nanda Kumar  & Chikri,
I am tring use of CUNI for entering component qty. upto 6 decimal places.
On CUNI Change unit of measurement screen , I have entered decimal places as 8 , decimal places rounding as 6 but still system gives error message if I enter 4 decimal places (0.1234)
Error message - Input must be in the format _ ___ ___ __~,___V.
Pl help. & also explain how to use exponent 0.123 * 10 (power -3)

Hi,
Please take help of ABAP consultant.
Regards,
Suhas

Similar Messages

  • Floating point numbers into XML file

    Hi,
    I am a learner in Labview and I am using Labview 8.5 version.
    when I use FlattentoXML component to convert floating point numbers ( having more than 5 decimal points) into XML, the output contains alway 5 decimal points.
    But, I want exact decimal number to be displayed as XML. i.e 0.263746 should not be displayed as 0.26375 in XML.
    Do you have any suggestions ?
    Attachments:
    Float_to_XML.vi ‏7 KB

    I tested it and could not see your problem in Labview 2009. So it is perhaps a bug in your Labview version. You can use this VI as a workaround.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    Float_to_XML[2].vi ‏8 KB

  • Designing for floating point error

    Hello,
    I am stuck with floating point errors and I'm not sure what to do. Specifically, to determine if a point is inside of a triangle, or if it is on the exact edge of the triangle. I use three cross products with the edge as one vector and the other vector is from the edge start to the query point.
    The theory says that if the cross product is 0 then the point is directly on the line. If the cross product is <0, then the point is inside the triangle. If >0, then the point is outside the triangle.
    To account for the floating point error I was running into, I changed it from =0 to abs(cross_product)<1e-6.
    The trouble is, I run into cases where the algorithm is wrong and fails because there is a point which is classified as being on the edge of the triangle which isn't.
    I'm not really sure how to handle this.
    Thanks,
    Eric

    So, I changed epsilon from 1e-6 to 1e-10 and it seems to work better (I am using doubles btw). However, that doesn't really solve the problem, it just buries it deeper. I'm interested in how actual commercial applications (such as video games or robots) deal with this issue. Obviously you don't see them giving you an error every time a floating point error messes something up. I think the issue here is that I am using data gathered from physical sensors, meaning the inputs can be arbitrarily close to each other. I am worried though that if I round the inputs, that I will get different data points with the exact same x and y value, and I'm not sure how the geometry algorithms will handle that. Also, I am creating a global navigation mesh of triangles with this data. Floating point errors that are not accounted for correctly lead to triangles inside one another (as opposed to adjacent to each other), which damages the integrity of the entire mesh, as its hard to get your program to fix its own mistake.
    FYI:
    I am running java 1.6.0_20 in Eclipse Helios with Ubuntu 10.04x64
    Here is some code that didn't work using 1e-6 for delta. The test point new Point(-294.18294451166435,-25.496614108304477), is outside the triangle, but because of the delta choice it is seen as on the edge:
    class Point
         double x,y;
    class Edge
         Point start, end;
    class Triangle
         Edge[] edges;
         public Point[] getOrderedPoints() throws Exception{
              Point[] points = new Point[3];
              points[0]=edges[0].getStart();
              points[1]=edges[0].getEnd();
              if (edges[1].getStart().equals(points[0]) || edges[1].getStart().equals(points[1]))
                   points[2]=edges[1].getEnd();
              else if (edges[1].getEnd().equals(points[0]) || edges[1].getEnd().equals(points[1]))
                   points[2]=edges[1].getStart();
              else
                   throw new Exception("MalformedTriangleException\n"+this.print());
              orderNodes(points);
              return points;
            /** Orders node1 node2 and node3 in clockwise order, more specifically
          * node1 is swapped with node2 if doing so will order the nodes clockwise
          * with respect to the other nodes.
          * Does not modify node1, node2, or node3; Modifies only the nodes reference
          * Note: "order" of nodes 1, 2, and 3 is clockwise when the path from point
          * 1 to 2 to 3 back to 1 travels clockwise on the circumcircle of points 1,
          * 2, and 3.
         private void orderNodes(Point[] points){
              //the K component (z axis) of the cross product a x b
              double xProductK = crossProduct(points[0],points[0], points[1], points[2]);
              /*        (3)
               *          +
               *        ^
               *      B
               * (1)+             + (2)
               *       ------A-->
               * Graphical representation of vector A and B. 1, 2, and 3 are not in
               * clockwise order, and the x product of A and B is positive.
              if(xProductK > 0)
                   //the cross product is positive so B is oriented as such with
                   //respect to A and 1, 2, 3 are not clockwise in order.
                   //swapping any 2 points in a triangle changes its "clockwise order"
                   Point temp = points[0];
                   points[0] = points[1];
                   points[1] = temp;
    class TriangleTest
         private double delta = 1e-6;
         public static void main(String[] args)  {
                    Point a = new Point(-294.183483785282, -25.498196740397056);
              Point b = new Point(-294.18345625812026, -25.49859505161433);
              Point c = new Point(-303.88217906116796, -63.04183512930035);
              Edge aa = new Edge (a, b);
              Edge bb = new Edge (c, a);
              Edge cc = new Edge (b, c);
              Triangle aaa = new Triangle(aa, bb, cc);
              Point point = new Point(-294.18294451166435,-25.496614108304477);
              System.out.println(aaa.enclosesPointDetailed(point));
          * Check if a point is inside this triangle
          * @param point The test point
          * @return     1 if the point is inside the triangle, 0 if the point is on a triangle, -1 if the point is not is the triangle
          * @throws MalformedTriangleException
         public int enclosesPointDetailed(LocalPose point, boolean verbose) throws Exception
              Point[] points = getOrderedPoints();          
              int cp1 = crossProduct(points[0], points[0], points[1], point);
              int cp2 = crossProduct(points[1], points[1], points[2], point);
              int cp3 = crossProduct(points[2], points[2], points[0], point);
              if (cp1 < 0 && cp2 <0  && cp3 <0)
                   return 1;
              else if (cp1 <=0 && cp2 <=0  && cp3 <=0)
                   return 0;
              else
                   return -1;
             public static int crossProduct(Point start1, Point start2, Point end1, POint end2){
              double crossProduct = (end1.getX()-start1.getX())*(end2.getY()-start2.getY())-(end1.getY()-start1.getY())*(end2.getX()-start2.getX());
              if (crossProduct>floatingPointDelta){
                   return 1;
              else if (Math.abs(crossProduct)<floatingPointDelta){
                   return 0;
              else{
                   return -1;
    }

  • Floating point vulnerability - determine affected target

    Hello all,
    I have a deployed system that uses a cRIO 9074. I do not have easy access to the system myself (off-site on a closed network). I can ask somebody to use MAX or FTP to get information I need but I would need pretty clear instructions to give them.
    Here is the problem - NI published an advisory on "Floating Point Vulnerability" with certain targets(http://digital.ni.com/public.nsf/allkb/5EDC7257492EEE5A862576740075795E). The LV RT with patch "f2" solves the issue but in this particular instance I do not know if the software on the target was installed before or after I updated the RT to the f2 patch (it was right around that time!). As such, I would like a way to find out exactly what is on the target.
    It is relatively straightforward to get MAX to report on what version of RT the target is running but I'm not sure if it will report the patch. Will MAX give this information? If not, is there a file on the target that I can tease this info out of?
    There are several things I can try on my own but if anybody has the exact answer that would be very much appreciated and would save a lot of trial and error over email.
    Very best,
    - Jolt

    Hi Jeff,
    There are two ways to install the patch, as seen in the KB you linked:
    1. Custom Software Installation with Measurement & Automation Explorer (MAX)
    To check this, right click software under the RIO target in MAX.
    Click on Add/Remove software.
    Click on custom software installation.
    Click on next and see if VxWorks Floating-point support for VxWorks 1 is checked.
    2. Manually FTP the Patch Component and Update the Target Configuration File
    To check this, FTP to the cRIO and check if vxfpsup.out is in the following location /c/ni-rt/system/
    FLash
    National Instruments
    Applications Engineer

  • VxWorks Floating-point support 2.0 missing (LV2011SP1 RIO4.1)

    Hi,
    I have a strange problem with a CRIO System (9022) using LV2011SP1 RIO4.1 and MAX5.1.
    Since I had older LV Versions on the computer I did some cleaning up in the LV components
    and ended up deleting everything which belonged or depended on older LV versions.
    Then I re-installed LV2011SP1 plus RT module SP1 plus (hopefully) all drivers needed.
    Then I started MAX to update the software on the CRIO target to the versions installed on the host.
    However, I cannot do that, I always get the following error:
    VxWorks Floating-point support 2.0 missing (not installed on host)
    I have no idea which component is missing where this is included.
    Could someone please point me to the right package or driver?
    TX
    Solved!
    Go to Solution.

    I am having a similar issue as well. I am trying to install only LabVIEW Real-TIme 11.0.1 on a cRIO 9023 that has no software previously installed. It returns a message saying "LabVIEW Real Time 11.0.1 requires VxWorks Floating Point Support 2.0". I did some research and found LV2011SP1 Real Time Module should install VxWorks 6.3 but I cannot find this or anything related to VxWorks in the list of features to install in MAX.
    Thanks,
    cookieGT 
    University of Georgia Alumni

  • Full BOM component qty when follow-up material is effected.

    Dear Experts,
             How to ensure discontinuation / follow-up is implemented on FULL BOM's
             component qty, and not partial.
              Example : A requires 3B, and B is follow-up with C upon discontinuation.
                             Planned order of A should only contain 3B or 3C, not mixture eg. 1B
                             and 2C etc.
              How can the control be implemented ?

    Dear Pradeep, Rajesha & all,
          Assume BOM of "A" indicates component B qty 10 is follow-up with component C qty 10.
          Material B (say, balance 1 qty) is received into Store Y (MRP Relevant). Thus to exclude material B from MRP, we have to manually transfer stock to store X (Not MRP Relevant).
          This would mean, we have to perform manual tracking such that this store transfer is done, to force SAP to direct to material C, so that we either accept 10B or 10C in planned order and nothing else.
         Not forgetting, I could have another follow-up in another bom such that 1B = 1C. Thus, the material 1B I transfered to store X (Not MRP relevant) can actually be use in this case.
    <b>    Thus, from BOM explosion, is there a way to control discontontinuation to follow-up, based on full component qty specified in BOM ?</b>
    <u><b>My Setting as follows :</b></u>
    <b>(1)</b> Material Master of "B" : MRP4 specify (a) Discontinuation Indicator "1", (b) effective-out date, (c) Follow-up material "C"
    <b>(2)</b> In Bom of "A" (parent of "B") :
    - Item "B", indicate discontinuation group "A1"
    - Create item "C" and indicate follow-up group "A1" and qty to be follow-up upon B discontinuation.
    Thank you for your guidance !

  • SQL Loader and Floating Point Numbers

    Hi
    I have a problem loading floating point numbers using SQL Loader. If the number has more than 8 significant digits SQL Loader rounds the number i.e. 1100000.69 becomes 1100000.7. The CTL file looks as follows
    LOAD DATA
    INFILE '../data/test.csv' "str X'0A'"
    BADFILE '../bad/test.bad'
    APPEND
    INTO TABLE test
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    Amount CHAR
    and the data file as follows
    "100.15 "
    "100100.57 "
    "1100000.69 "
    "-2000000.33"
    "-100000.43 "
    the table defined as follows
    CREATE TABLE test
    Amount number(15,4)
    ) TABLESPACE NNUT050M1;
    after loading a select returns the following
    100.15
    100100.57
    1100000.7
    -2000000
    -100000.4
    Thanks in advance
    Russell

    Actually if you format the field to display as (say) 999,999,999.99, you will see the correct numbers loaded via SQL Loader.
    null

  • R6002 - floating point not loaded / C++ Runtime Error

    Good Evening,
    I have been having this problem with Adobe Bridge for a while and tonight sat down to try and solve it. Fresh version of Windows XP reinstalled all programs and this is still happening! Any Ideas?
    This error only occurs with Adobe Bridge, I can load Photoshop etc.. all fine.
    Error:
    "Runtime Error!
    Program: C:\ProgramFiles\Adobe\Adobe Bridge CS3\Bridge.exe
    R6002
    - floating point not loaded"
    Here is a print screen..
    http://images.unbrokenphotography.co.uk/BridgeError.jpg

    Is there are answer to this problem?  This error message is appearing on an entire lab full of computers.  We are running Web Premium CS4
    I have tried to reset the Bridge Preferences:
    Hold down the Ctrl key and click on Bridge icon to start.
    Should get a reset window with 3 options.
    Choose the first option
    I still get "Runtime Error!   Program: C:\Prgram Files\Adobe\Adobe Bridge CS4\Bridge.exe  R6002 -floating point support not loaded"

  • Invalid Floating Point Error

    I have one Captivate 3 project published as a Stand Alone
    project with Flash 8 selected. There are 36 slides, no audio, no
    eLearning, SWF size and quality are high.
    One person who runs this gets an "Invalid Floating Point"
    error when he tries to run it the first time. He is running Windows
    XP SP2, Firefox 3.0.4. and Flash Player 10.0.12.36. Other Captivate
    projects I've created run fine for him. This one sometimes runs
    after the first Error message.
    Any thoughts on the cause and fix?
    Thanks,
    Janet

    iMediaTouch probably doesn't support Floating Point formats - it certainly doesn't mention them in the advertising. Try saving your files as 24-bit PCMs, and they should import fine.

  • Pack  and Floating Point Data Type in ABAP

    Dear All,
    I am new to ABAP. Started with data types. Came across pack and floating point.
    Please let me know what PACK  and Floating Point stands for with few examples and the main difference between them.
    Regards
    Arun V

    Hi,
    You'd better ask this question in ABAP forum http://forums.sdn.sap.com/forum.jspa?forumID=50 .
    Best Regards,
    Ada

  • Conversion of a floating point type field

    Hi,
    I'm fetching field ATFLV from table AUSP for a particular value of ATINN.ATFLV is a floating point type field.
    Can anyone please guide me as to how to convert this field(ATFLV) from floating point no. to a simple no.?
    Helpful answers will be rewarded.
    Regards,
    Sipra

    hi,
    Do like this,
    float f = 234.33;
    int i = (int) f; // i has value 234.
    reward points if helpful..

  • Maximum size of a floating-point number

    Morning all,
    Does anyone know what the maximum size of a floating point number can be under Solaris 8 running on
    a V880?
    Regards,
    Richard Breckon

    I'm not sure what you're asking.
    The maximum size is 128 bits.
    The maximum value is as given in /usr/include/float.h: 1.189731495357231765085759326628007016E+4932L

  • Check Floating Point Number

    Hello All,
    I am having some trouble checking the value of a field with Key Figure type Number with 8 byte floating point. I want to read that field and populate another field with an X if true. For example if that field is equal to 5,0000000000000000E+07 then i want to mark the other field with an 'X'.
    The problem is in my code, how do i read that number in the fltp field, such as the number above. my code reads as follows for the 'X' field.
        if SOURCE_FIELDS-abc123 eq 5000000.
          RESULT = 'X'.
        endif.
    Thanks everyone in advance

    You don't need to worry about converting the code into standard format or floating, just implement your code as you want and it will automatically take care of the conversion. Basically 5,0000000000000000E+07 = 50,000,000.
    thanks.
    Wond

  • 32 bit Floating Point

    Hello,
    Running FCP 5.1
    Having audio sync issues and was double checking my settings.
    Although the sequence presets are at 16 bit, they are showing up in the browser as 32bit Floating Point.
    Any thoughts?
    I generally capture now at 30 minute increments and actually have always had this issue. FCP 4.5 and 5.1
    all settings are where they should be.
    although I do notice, obviously when the device is off, the audio output defaults to 'default' not to firewire dv.
    thanks
    iMac intel Mac OS X (10.4.8)

    Some more details please. What hardware device are you sourcing the audio clips from? The likely culprit is your capture settings. What preset are you using? Check Audio/Video Settings-Capture Presets and see if the preset you've selected records audio as 32 bit. It will say in the right column after you've selected your preset.
    If it says 32 bit there, click Edit to get the Capture Preset Editor. Under Quicktime Audio Settings, the Format field should give you a selection of sample rates and possibly alternate bit depths. If your only choice is 32 bit, (as it is for me when I capture audio via my RME, 32 bit Integer in my case) then you'd be well served by bringing those files into Peak or Quicktime and saving them as 16 bit Integer files to match your sequence settings.
    If you've imported these files into FCP from an audio editor that can create 32 bit floating point audio files, eg Kyma, Sequoia, Nuendo, etc. then the same advice applies. The 32 bit files are much larger than they need to be and may upset the apple cart (he he, pun) when pulled into a sequence with different settings. More cpu overhead for sure.
    Let us know what you find.

  • How to make floating point division

    I have tried many alternatives but i couldnt make any single floating point number printed to a page...
    I am compiling the servlet with eclipse 3.2 without any error but the jsp page says      java.lang.NoSuchFieldError: floatnumber even i have that variable...
    i have tried double,float but both of them makes the error above...but i can print long as well.
    can anyone teach me to divide 2 integer values and print the exact result like;
    3 / 5 = 0.6

    can anyone teach me to divide 2 integer values and
    print the exact result like;
    3 / 5 = 0.6
    int a= 3, b= 5;
    double result= ((double)a)/b;... or any valid variation thereof.
    kind regards,
    Jos

Maybe you are looking for