Urgent : double precision problem

This problem is reported on the forum lots of times by lots of people.
consider situation :
if ((2.9 - 1.1) == 1.8)
do something
else
do otherthings;
Its expected to do something on evaluation of condition in if statement .. instead it enters else part.
secondly, if somewhere in the code,
The BigDecimal can solve the problem in most of the situations but even it has some problems.. sometimes we need to format the contents of BigDecimal before displaying them.. formatting solves display problem but the value stored internally is not proper..
e.g.
formatting to 2 decimal places might display 12.35 for 12.349999 but the value stored in the variable is still 12.349999.
Please let me know if anybody has inputs on this.
Thanks in advance,

Here is some code that may help you and others who are having a problem with double values. I created this class specifically to be used when using percentages. You can use it to round off values, I have yet to complete the code to round up or truncate values. Once you set the value you can then call the roundOff() method specifying how many decimal places you want to round off (i.e. 2 for percentages). You can then retrieve the value as a double or string or int or float.
I hope that you find this useful.
import java.lang.*;
public class MyDouble extends Number {
     private double value;
* MyDouble constructor comment.
public MyDouble() {
     super();
* MyDouble constructor comment.
public MyDouble(double newValue) {
     super();
     this.setValue(newValue);
* Insert the method's description here.
* Creation date: (2001-01-04 1:24:18 PM)
* @return double
public MyDouble(String inputString) {
     super();
     this.setValue(inputString);     
* Insert the method's description here.
* Creation date: (2000-12-28 8:08:54 AM)
* @return double
public double doubleValue() {
     return (double)this.getValue();
* This method will accept a value to use as decimal positions required.
* It uses the exponent function "e", to move the required decimal positions
* over.
* Creation date: (2001-01-03 3:02:26 PM)
public void exponent(int decimalPositions) {
     String text = getValue() + "e" + (decimalPositions);
     setValue(Double.valueOf(text).doubleValue());
* Insert the method's description here.
* Creation date: (2000-12-28 8:08:54 AM)
* @return double
public float floatValue() {
     return (float)this.getValue();
* Insert the method's description here.
* Creation date: (2000-12-28 8:20:08 AM)
* @return java.lang.Double
public double getValue() {
     return value;
* Insert the method's description here.
* Creation date: (2000-12-28 8:08:54 AM)
* @return double
public int intValue() {
     return (int)this.getValue();
* Insert the method's description here.
* Creation date: (2000-12-28 8:08:54 AM)
* @return double
public long longValue() {
     return (long)this.getValue();
* Counts the number of numbers that are after the decimal position.
* Creation date: (2000-12-29 8:36:10 AM)
* @return int
public int numberOfNumbersAfterDecimalPosition() {
     String text = getValue() + "";
     int decimalCount = 0;
     for (int i = 0; i < text.length(); i++) {
          String characterText = text.valueOf(text.charAt(i));
          if (characterText.equals(".")) {
               decimalCount = text.length() - 1 - i;
     return decimalCount;
* Insert the method's description here.
* Creation date: (2000-12-28 8:33:55 AM)
* @return java.lang.Double
public Double returnDouble() {
     return new Double(this.getValue());
* Insert the method's description here.
* Creation date: (2000-12-28 8:33:55 AM)
* @return java.lang.Double
public Integer returnInteger() {
     return new Integer(this.intValue());
* Insert the method's description here.
* Creation date: (2000-12-28 8:33:55 AM)
* @return java.lang.Double
public String returnString() {
     return ""+getValue();
* This method will round off itself to the specified decimal places.
* There is a maximum size of 7 decimal positions,
* if a bigger number is entered unpredictable results will be returned.
* Creation date: (2000-12-20 3:35:07 PM)
public void roundOff(int decimalPositions) {
     /* Check the number of decimal postions to determine if the user is requesting an
     unneeded rounding. */
     if (decimalPositions < this.numberOfNumbersAfterDecimalPosition()) {
          int size;
          int intValue = 0;
          int comparisonInt = 0;
          String comparisonString;
          Integer comparisonValue;
          /* Will create an exponent in string format so that the decimal place can moved
          over the requested decimal positions to the right and adds one to the
          decimal position so that the value after the cut off position can be evaluated
          for rounding purposes. */
          String text = "";
          if (getValue() > 0.001) {
               text = getValue() + "e" + (decimalPositions + 1);
          } else {
               text = "" + getValue();
          comparisonInt = Double.valueOf(text).intValue();
          text = "" + comparisonInt;
          // Determine size of string     
          size = text.length();
          /* Checks the value in the last position of string */
          comparisonString = text.valueOf(text.charAt(size-1));
          // Converts the value to be compared from a string to an Integer
          comparisonValue = Integer.valueOf(comparisonString);
          // Creates the actual exponent string to be used
          if (getValue() > 0.001) {
               text = getValue() + "e" + decimalPositions;
          } else {
               text = "" + getValue();
          /* Compares to see if the value should be rounded up. The exponent string is
          passed to the valueOf method of a Double and then the int value is determined.
          if the value is to be rounded up then 1 is added to the int value.
          if (comparisonValue.intValue() >= 5) {
               intValue = Double.valueOf(text).intValue() + 1;
          else {
               intValue = Double.valueOf(text).intValue();
          /* Creates an exponent sting so that the decimal positions can be moved over the
          specified decimals places to the left. */
          text = intValue + "e-" + decimalPositions;
          // The double value of the exponent string is stored in value field
          setValue(Double.valueOf(text).doubleValue());
* Insert the method's description here.
* Creation date: (2000-12-20 3:35:35 PM)
* @return double
public double roundUp() {
     return 0;
* Insert the method's description here.
* Creation date: (2000-12-28 8:20:08 AM)
* @param newValue java.lang.Double
private void setValue(double newValue) {
     value = newValue;
* Insert the method's description here.
* Creation date: (2001-01-04 1:28:14 PM)
private void setValue(String newValue) {
     value = Double.valueOf(newValue).doubleValue();
* Insert the method's description here.
* Creation date: (2001-01-03 2:53:55 PM)
* @return double
public double truncate() {
     return 0;
Robert

Similar Messages

  • What use of having double precision in java.awt.geom?

    Hi,
    I am trying to draw a line using Line2D with this param:
    g2d.draw( new Line2D.Double( 1.1d, 1.5d, 1.9d, 1.5d ) );
    in my own JPanel paint method.
    However, the result is that the panel does not display a line nor a dot at all. Only when i change it to:
    g2d.draw( new Line2D.Double( 1.0d, 1.5d, 2.0d, 1.5d ) );
    that it draws a dot in the panel's first pixel.
    Can someone please guide or tell me why is this so? And what is the purpose of providing a double value for a geom ( such as Rentagle2D, Line2D, etc )?
    The actual case is that I have created a graph with x and y axis. I set the graph to be 400pixel * 400 pixels. And the scale for the graph is 1 million unit * 1 million unit which means a pixel would have contain (1000000/400) units, or 0.004 pixels represent 1 unit. The problem occurs when i try to draw a line that is only 10 unit.(which nothing is draw on the panel). I try to use all 2D geom with double precision, yet i could not get the result that I wanted. Isn't that java 2D will handle the double precision for graphing or drawing?
    Your help and reply is very much appreciated.
    Thank you.

    have in mind that you always have to fill 1 pixel to see anything as the panel has a 1 pixel grid.
    i guess the thing about double precision is in the contains(...) or crosses(...) methods of the geom.* objects.
    its nothing about drawing. how can you draw finer than the 1 pixel grid.
    even the antialias has to fill more pixel to make you thing the line is smooth. (BTW: antialias makes fonts widt less than 10px look terrible :))

  • Formatting a string with time stamp and double precision numbers

    %s\t%f\r%f
    This is a format string that I have in old code that I've decided to change.  Problem is I cannot make sense of the string codes in my own old code! Let me explain what I want, and hopefully someone can explain how to do it.
    I am using the format into string subvi to merge a time stamp (formatted as %m%d%Y%H%M%S%5u) and two different double precision numbers.  This string is then wired into the Write Characters to File subvi so that I can record data as a .txt file, and open it in either Matlab or Excel.  There is a minor problem with the string format above because in excel the first time stamp entry is blank, and the first loop only gives the two double precision numbers withouth the time stamp - the time stamp appears in the next loop (probably a looping issue and not due to the string format, but if you see differently please let me know).  Now what I want to do is 1. potentially fix that problem and 2. add some more doubles. 
    1. Is there a string format issue that is evident that I am not seeing that causes the time stamp to be formatted into the string after a carriage return?  Or should I be looking at looping issues?
    2. How do I add another one - three floating point numbers (double precision)?  Are the \'s marking different numbers in this string constant?  Or is it the %?  I can't find any information about the \'s, but I see that % begins the format specifier. 
    Ideally, I want these data in the following columns:  Date, Time(absolute), FP, FP, FP, carriage return for the next loop (FP is floating point double precision number).
    Thanks,
    Brad

    Hi JonN,
    Here there is no need of string concordinate function (in your code), the same result you can find if you connect the output of the format string to shift register, and shift register in data to initialize string connector in format into string function.
    <<KUDOS ARE WELCOME>>
    ELECTRO SAM
    For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.
    - John 3:16

  • Possible bug: Saving array with extended and double precision to spreadshee​t

    If one concatenates a double precision array and an extended precision array with the "build array" vi and then saves using "Write to Spreadsheet File" vi any digits to the right of the decimal place are set to zero in the saved file. This happens regardless of the format signifier input (e.g. %.10f) to the  "Write to Spreadsheet File" vi.
    I am on Vista Ultimate 32 bit and labview 9.0
    This is a possible bug that is easily circumvented by converting to one type before combining arrar to a spreadsheet. Nonetheless, it is a bug and it cost me some time.
    Solved!
    Go to Solution.
    Attachments:
    Spreadsheet save bug.vi ‏9 KB

    Hi JL,
    no, it's not a bug - it's a feature
    Well, if you would look more closely you would recognize the "Save to Spreadsheet" as polymorphic VI. As this polymorphic VI doesn't support EXT numbers internally (it only supports DBL, I64 and String) LabVIEW chooses the instance with most accuracy: I64 (I64 has 64 bits precision, DBL only 53...). So your options are:
    - set the instance to use as DBL (by right-click and "Select type...")
    - make a copy of this VI, save it with a different name and make it support EXT numbers (don't rework the polymorphic VI as you would break compatibility with other LV installations or future revisions)
    And yes, those coercion dots always signal some conversions - you should atleast check what's going on there...
    Message Edited by GerdW on 05-21-2010 10:01 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Convert double precision float string to a number

    I am a newbie with Labview.
    I have a GPIB link with a vector voltmeter and I receive the data as a double precision float string (IEEE standard 754-1985). I would like it to be recognized as a number, but I can't find the proper conversion function. The string to convert is 8 byte long. Does anyone have an idea how to do it? Thank you!

    Asumming your data is big-endian, you should be able to simply typecast it to a DBL (see attache LV 7.0 example).
    (It is possible that your DBL string is little-endian, in this case it will be slightly more complicated. Let us know )Message Edited by altenbach on 05-27-2005 04:49 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    StringToDBL.vi ‏23 KB

  • ARM Luminary TCP debug double precision numbers

    Hi,
    I'm working with Labview and a LM3S8962 Luminary evaluation board.
    I'm debugging with TCP port and when I use double precision float variables I see some like random numbers on my front panel indicators or on my probe points (i.e. 1.5664325e34.....-12.452244e128) for those variables, but at the same time I'm printing the numbers on the board LCD display and they are shown ok. If I do all the opperations on double precision and then convert the result number to single presicion to display it...then indicators and probes works fine. Also if I do debug with USB ULINK JTAG all works ok on single, double and extended presicion.
    Have anybody experienced something like that?
    I'm missing some TCP configuration perhaps? 
    Regards,
    Matthuz

    Hello Kevin, thank you for your reply.
    I'm attaching a little demo to show you what is going on. If I set the debug options to use ULink all works nice, but it doesn't with TCP.
    It could be something with the signal generator that I'm using?
    Attachments:
    Test_Double.zip ‏16 KB

  • Has anyone else noticed a double subtraction problem?

    double value = 0.910;
    double one = 1.000;
    double afterSub = one - value;
    System.out.println(afterSub);
    Prints:
    0.08999999999999997
    I am developing on a Windows XP system with all current Patches installed.
    Using Java 1.4.2_04 (have also tested _05-b04, _01, _02, _03 and on Windows 2000, XP with latest service pack [multiple machines])
    Seems that lower double subtractions like 1.00 - 0.11 work fine, but as the second number approaches 1.0 the error increases.
    I have someone testing it on a Mac and on Solaris but haven't heard back from them yet.
    Am I doing something wrong? Has this been fixed in a later version? I checked the bug base but couldn't find anything about this (this could be user error.)
    Any help would be appreciated.
    Thanks.

    This question is off topic for this forum. In the future please post to a more appropriate forum. Although I'm not sure I see the issue here. You are subtracting two double precision floating point numbers. The computer can not represent .09 exactly so it approximates the value to 0.08999999999999997 which is pretty close. If your going to be doing floating pont math you should probably look at the java.math package.

  • Double submission problem in J2EE application under Weblogic 8.1 SP2 server

    Hi,
    We are facing double submission problem in our J2EE application which is running under Weblogic 8.1 SP2 and for the same we already implemented or added the below preventive solutions.
    1. We disable the SUBMIT button once the user clicks it.
    2. We preventated pressing 'F5' button and clicking 'Refresh' button in the browser.
    3. Also we tried to prevent by declaring the idempotent is 'true' under weblogic-ejb-jar.xml as below.
    <stateless-bean-methods-are-idempotent>true</stateless-bean-methods-are-idempotent>
    So please somebody help us on this issue like how to prevent in some other way.
    Regards,
    Dinesh.

    I have no idea why you would think changing your EJB configuration would have anything to do with preventing double submission at your servlet layer.
    One technique I've seen for preventing double submission was first used in the Struts framework several years ago. When a page is "prepared" for display, a token value is created and stored in the session. The page is displayed with a hidden field containing that value. When the page is submitted, the value of the hidden field is compared with the value stored in the session. If they're not equal, the submission is ignored.

  • Can Photoshop or Lightroom utilize double-precision capable GPUs for photographic image editing.

    Hello - I need to upgrade my graphics card.  Question can either Photoshop CS5 or Lightroom 5 utilize doubleprecision capable GPUs?  Thanks much for your help.
    Background: Application- photographic RAW files editing (no video editing.) Software- Photoshop version CS5 and Lightroom version 4,  OS- windows 7 64bit, Hardware- Asus P8P67 Deluxe LGA 1155, Intel Core i5 2400 processor, 16GB SDRAM, SSD (apps/temp files), HD (archives), current videocard- Quatro FX 1500.

    Let me start by saying I don't know what's inside the Mercury Graphics Engine.  Certainly Adobe has not published anything stating the thing would benefit from double precision.
    Double precision increases the floating point word size from where it carries 24 bits of mantissa precision to 52 bits, if I'm not mistaken.  Since one each floating point number is used to represent red, green, and blue, even single precision floating point is going to give you all the accuracy of any document format.
    From another perspective, your display only shows a maximum of 10 bits per channel -if you have 30 bit color.  Most don't; most have 24 bit color, or 8 bits per channel of display accuracy.
    I honestly don't know why the graphics card designers created the really deep formats - perhaps for specific CAD software or because scientific computing needs acceleration of very accurate calculations.  I'm pretty sure Photoshop won't use it - at least not for a few versions yet.
    -Noel

  • Converting array of Double Precision values to U16 for MODBUS

    Hello,
    I am trying to send over pressure and temperature information via the Input Register array in MODBUS TCP.  My question is, how to I properly send over an array of double precision values without loosing my data?
    For example, my array of data looks like:
    12.0001
    32.001
    0.00051234
    0.0014838
    1.02
    12.0232
    31.920
    Thanks so much.

    Thank you Ravens Fan for replying.
    I missed one extra point of data.  Below is what I'd like to send:
    12.0001
    32.001
    0.00051234
    0.0014838
    1.02
    12.0232
    31.920
    2046
    The array above is an array of double precision values.  I will convert that array to an array of single precision floating data to reduce data size.
    Since I have eight pieces of single precision floating point data now, I will need to write to 16 registers correct?  What is the best method to split up each piece of data into two consecutive registers?
    Attached is a Slave Send Data.VI that I want to send this data through.  The end goal is to have a Master PC (not using labview, but a MODBUS utility) to read my MODBUS TCP message from the "Slave Send Data.vi" 
    Thanks
    Attachments:
    Slave Send Data.vi ‏15 KB

  • Precision problem in Sybase

    I tried to insert a double value "0.0491" in Sybase. I found that the value stored in the table is "0.04909999999" that I think is precision loss problem. Does anyone know what the problem is and how I can insert the value exactly "0.0491" rather than "0.04909999999"

    You can't. That's as accurate as it will go. That's what you get when you don't have infinite bits to represent floating points.

  • AVL Double click Problem

    Dear Experts,
    I hv created an ALV report. when in double click on the record it take me to the required tcode (FB03).
    But the problem is ,it always display last record of internal table if I clicked on first record,
    Can any one suggest me something.
    Regards,
    Maverick

    Thanks for ur reply.
    I m using normal ALV. go through the following
    form display_all_item_alv.
    w_repid = sy-repid.
    perform update_catalog.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                = w_repid
       I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
    *   I_CALLBACK_TOP_OF_PAGE            = 'TOP-OF-PAGE'
       IT_FIELDCAT                       = I_FCAT[]
       I_SAVE                             = 'X'
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER           =
    *   ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = i_faglflexa_all
    * EXCEPTIONS
    *   PROGRAM_ERROR                     = 1
    *   OTHERS                            = 2
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform.
    *       FORM USER_COMMAND                                          *
    *       --> R_UCOMM                                                *
    *       --> RS_SELFIELD                                            *
    form user_command using r_ucomm like sy-ucomm
                      rs_selfield TYPE slis_selfield.
      w_gjahr = p_gjahr.
      case r_ucomm.
         when '&IC1'.
            if r_open = 'X'.
              set parameter id 'BLN' field i_faglflexa_open-belnr.
            elseif r_clear = 'X'.
              set parameter id 'BLN' field i_faglflexa_clear-belnr.
            else.
              set parameter id 'BLN' field i_faglflexa_clear-belnr.
            endif.
          set parameter id 'BUK' field p_bukrs.
          set parameter id 'GJR' field w_gjahr.   "i_faglflexa_clear-gjahr.
          call transaction 'FB03' and skip first screen.
      endcase.
    endform.                    "user_command
    Regards,
    Maverick

  • Urgent!!  Problems muxing .m2v files and audio!! MPEG Streamclip/Compressor

    Hello!
    I am under an urgent deadline to upload a short 6 min documentary clip for a client to review for screening this week. The footage was shot in 1080/60i HDV.
    Usually, I find the best quality and fastest way to do this is to export directly from my FCP sequence using the '150 min Best Quality' DVD settings in compressor to get an .m2v video file and .ac3 audio file. Then I open the .m2v files in MPEG Streamclip which links it with my .ac3 file, then do 'Export MPEG with MP-2 audio". This gives me a single, muxed file that I can then upload to YouTube or Vimeo.
    However, with this project, when I open up my .m2v file in MPEG Streamclip, it's recognizing the .ac3 file and I can see the info for it in the MPEG Streamclip window, but when I play the file in MPEG Streamclip or mux it, I don't hear any audio. Furthermore, after about 5 seconds into the clip, the playhead will continue moving, but the video will freeze, then maybe pick up again later. The .m2v video will play back smoothly in VLC player or Quicktime player, but not in MPEG Streamclip.
    I've tried exporting different little sections of the timeline to see if maybe I had some corrupted footage or whatnot. I even exported a small clip from an older HDV project to test. But no matter where I export from, I am running into the same problem. I can bring the .m2v file and .ac3 file into DVD Studio Pro and burn a DVD with no problem, but I can't mux them. If I build the DVD file in DVD SP and try to open the .VOB file with MPEG Streamclip, I get the same problem. I even tried using a different software to mux (ffmpegX) but to no avail. When I try with ffmpegX, it either tells me I'm dropping frames, or if it works and it muxes it, when I open the MPEG file, it'll stutter at about 5 seconds in as well and I can't hear any audio, even though there is supposed to be audio in the muxed file.
    I think I might have updated my Quicktime a few days ago with the system update, and maybe updated a few other things, so I don't know if this has any bearing on the problems I'm running into. But I was able just a few days ago to export HDV 1080/60i using this workflow without any problems.
    I realize I have other export options, but this always seems to me to be the best quality and fastest way of doing it vs. encoding an H.264 which, on my machine is RIDICULOUSLY slow...I need to be uploading multiple versions of the cut to the client, and really need help! Thanks so much in advance!
    J

    what you want is an m2v program file. Export a reference copy from FCP (uncheck Make Movie Self Contained") That's very fast. Bring it into Compressor. In the settings panel find the MPEG-2 settings folder. Select Program Stream. Adjust to your liking and run. The audio and video will already be "muxed" when it's done and using compressor 3 you can set it to upload to YouTube, Mobile or similar sites.

  • Formatting custum double precision

    I don't understand the DecimalFormat API.
    I need to format double variables trajectory_angle, velocity_fps and elapsed_time to three decimal place precision round off in the following code segment. For example, the value of elapsed_time would change from 1234.56789 to 1234.568 in results_string. Note that I need to set this precision only in this method since I wish to retain prior precision determined in other parts of the code prior to this method being invoked. Please examine this segment and indicate what corrections I need to make.
         public String results()
         DecimalFormat df = new DecimalFormat(.###);
         results_string =
         "Distance =\t\t" + distance / 5280.0 + " miles\n"
         + "Altitude =\t\t" + altitude + " feet\n"
         + "Trajectory Angle =\t" + df.format(trajectory_angle) + " degrees\n"
         + "Velocity =\t\t" + df.format(velocity_fps) + " feet per second\n"
         + "Elapsed Time =\t\t" + df.format(elapsed_time) + " seconds\n";
         return results_string;

    Nevermind. I found the solution. However, I need to see better examples on how to use that API.

  • Double precision formatting in web service messages

    I currently have a value passed in the response of a web service that represents a currency value. Right now I have it defined as a double type in xsd. Every time I return a value such as 12.00 the value gets truncated to 12.0. And if I have a value of 12.01, the entire number is returned. What is the best way to make sure the value is always two decimal places for the returned value?
    Or does the client side have to know if the number is 12.0, then the second decimal is 0 etc?

    I think its working i redefined the web service call and was able to use it with no problems - except when I try to substitute a form variable into the call. The webservice actuals does not substitute the variable.
    So this is the webservice call that I set up - and what ends up in the database is "#P72_NAME#" instead of what is in the field
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://com.remp.web.sas.dataimport.type">
    <soapenv:Header/>
    <soapenv:Body>
    <com:registerCompound>
    <String_1>#P72_NAME#</String_1>
    <Double_2></Double_2>
    <String_3></String_3>
    </com:registerCompound>
    </soapenv:Body>
    </soapenv:Envelope>

Maybe you are looking for

  • How can I get my AE to work in 802.11n mode with my dlink router?

    Hi all, I have a dlink 655 wireless n router that I use for my network and a recent AE with 802.11n capability that I use to connect iTunes to my home stereo. I have a mix of computers at home and only my imac has 802.11n capability. I work alone in

  • Text box editor acrobat xi

    Hello, I'm trying to color fill and frame text boxes in Acrobat xi with no luck.  I can't find the text box editor, though I can edit text, font, etc..,.

  • Getting information from SOAP call in R/3 using RFC adapter

    I have following scenario: R/3 (RFC)> XI (SOAP)> WebService I want to know within the R/3 if the call to the webservice fails (Server not available, etc), that there is a problem. Is there any exception code or way to fill the exception with a return

  • RMI security issue

    Hi, there! This is cross-post from "NetWeaver AS, Java" forum. I have a security issue when I try to run RMI client code in the web application on the Web AS 2004s. There is lookup statement in JSP or servlet code: Naming.lookup("//server/RemoteClass

  • ColumnChart - 3D Item Renderer problem

    I'm building a 3D column chart and am finding that I need to draw the columns in a specific order other than the default, which appears to be by series. Things go just fine until the z-order depth is greater than the distance between the series. Once