Java math is totally not working!

Hi! Ok for some homework I'm doing I've got to like, do some math stuff :(
I do this
double d = 3.1 - 2.2;
System.out.println(d);
and it prints out 0.8999999999999999. I like, did the same thing on my calculator and it told me the answer is 0.9! Hello!? I'm not really good at that math stuff but my calculator answer like, looks much better! Help me pls!
Thanx!
JS

Maybe I should change my ID? I thought when I signed
up that you had to like, use your real name! It's not
my fault there's another Jessica Simpson! I might
change to another ID then ppl won't know it's me and
might not be so mean!
JSHey Jessica, I like, did not like, intend to be like, mean. I have like, been following your like, threads for a long time. :)
Anyway, using a new name means new trouble. Now, everyone enjoys your presence since they know you. If you come in with a different name, they would flame you instead. ;)
DM :)

Similar Messages

  • Adobe Edge Animate CC 2014.1  is totally not working. It stop working after 5min. Sometimes is stops the operating system.

    Adobe Edge Animate CC 2014.1  is totally not working. It stop working after 5min. Sometimes is stops the operating system. On on mac OS X Yosemite. macbook pro i7 2013.
    I reinstalled it not helping.
    Message was edited by: Daniel Boguszewski

    UPDATE
    i have ulpaded 2 animation ( one normal and one Responsive ) in 2 different server here the link
    www.eclipseadv.com/maliRP/maliRP.html
    Untitled
    via SAFARI or CHROME on MAC all OK
    but via IPAD ( SAFARI, CHROME and MERCURY) i didn't see the video, just the animation of the BUTTON  and the link if i click on it (not in Mercury), like in the content viewer.

  • Java 7 Update 11 Not Working with Firefox

    For me, the problems described in the thread "Java 7 Update 10 Not Working with Firefox? " Java 7 Update 10 Not Working with Firefox?
    are continuing with Java 7 Update 11.
    Windows 7 64 bit
    Firefox 18
    The problem is that "Java(TM) Platform" is missing from the plug-in list.
    I've uninstalled Java 7 Update 11 and reinstalled Java Update 9 which correctly installs the plugin and restores Java functionality which was broken immediately upon installing both Java 10 & 11.

    981243 wrote:
    So why not using Ju11 ? You can workaround the issue. It would sucks but still be safer than using Ju9.
    Also ask Mozilla forums if Firefox has options where to search for plugins.
    Or try 64-bit Firefox.As I explained in both threads ...
    Java 7 Update 10 Not Working with Firefox?
    Java 7 Update 11 Not Working with Firefox
    ... neither jre7u10 nor jre7u11 are working ... and they are BOTH broken with the same problem ... "Java(TM) Platform" pliugin is missing from the plug-in list. It cannot be enabled, because it simply is NOT there. A suggestion was made the jre7u12 will be the "fix" for this issue ... so I installed the Update 12 Preview and it sis ALSO broken, no "Java(TM) Platform" in the plug-in list.
    The ONLY Java version that actually works for me is jre7u9.
    As far as installing Firefox 64bit ... I see no future in installing a browser that has been discontinued.
    http://www.computerworld.com/s/article/9233976/Mozilla_suspends_work_on_64_bit_Firefox_for_Windows
    Even though Mozilla relented due to backlash, I continued development will be a somewhat low priority.
    http://www.computerworld.com/s/article/9234997/Mozilla_compromises_on_x64_Firefox_after_user_backlash

  • I'm running OS X Yosemite, Version 10.10 My Adobe Illustrator CS6 is not opening. I have install the legacy Java SE 6 runtime, not working

    I'm running OS X Yosemite, Version 10.10 My Adobe Illustrator CS6 is not opening. I have install the legacy Java SE 6 runtime, not working
    Also when I click on More Info... button I  I get support.apple.com  website page, which is blank.  When I click on the OK button, same result.
    I need help with this,  is anyone  out there experiencing the same phenomena?

    How about this one
    Apple Java for Mac | MacUpdate
    or
    Java for OS X 2014-001

  • Java.math package does not exist!!!

    hi java experts, i really desperately need some help. ihave been trying to compile a java program i have written that imports the java.math package as i am using the BigInteger class. I am using SUN ONE STUDIO ME 4 and have j2se SDk installed. when i try to build the program in the IDE, it gives me an error message saying the java.math package does not exist. i can't understand why. i think it's an IDE problem. i tried mounting the filesystem and i mounted almost a million times in diff ways but it still can't compile. i can't find the directory of the java.math to mount into. anyway i tried to compile it at the command prompt and it can compile but with errors... so i figure that i do have the java.math class on my system just that the IDE jsut can't recognise it. i am at my wits end and gonna go mad if someone doesn't please help me.
    adeline from singapore

    Cross-posted at http://forum.java.sun.com/thread.jsp?thread=293132&forum=54&message=1155073

  • Java.util.ProperyPermission does not work for

    Hi again!
    I have some problems with a security.policy file. Its content is provided below:
    grant{
         //Alow the client to connect to any port above 1024
         permission java.net.SocketPermission "*:1024-", "connect";
    permission java.util.PropertyPermission "user.language", "read, write";
    Unfortunately, the java.util.PropertyPermission does not work. I always get the following exception:
    java.security.AccessControlException: access denied (java.util.PropertyPermission user.language write)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
    at java.security.AccessController.checkPermission(AccessController.java:427)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at java.util.Locale.setDefault(Locale.java:352)
    at essex.kkarad.cache.daemon.SimplePopulationStrategy.doPopulate(SimplePopulationStrategy.java:41)
    at essex.kkarad.cache.daemon.Populator.run(Populator.java:42)
    Is there any problem with the decleration of the premission? Any ideas?

    Err, this may come as a shock, but it's because you changed the system clock.
    The Timer class works out the absolute time when to next to do something, and when you change the system clock you break that time.
    How much are you changing it by?

  • Java(TM) Update Registration not working anymore

    Hello,
    I updated my java 7.u10 to 7.u11 couple days ago.
    It's working on IE, but not on Google Chrome and the other browsers.
    I re-installed Google Chrome, re-installed java, but neither worked.
    I'm clueless.
    Everytime after I re-installed java I get this message:
    'Java(TM) Update Registration not working anymore'
    More details:
    Probleemhandtekening:
    Gebeurtenisnaam van probleem:     APPCRASH
    Naam van de toepassing:     jaureg.exe
    Versie van toepassing:     2.1.9.0
    Tijdstempel van toepassing:     4ff3180c
    Naam van foutmodule:     jaureg.exe
    Versie van foutmodule:     2.1.9.0
    Tijdstempel van foutmodule:     4ff3180c
    Uitzonderingscode:     40000015
    Uitzonderingsmarge:     00018894
    Versie van besturingssysteem:     6.1.7601.2.1.0.256.1
    Landinstelling-id:     1043
    Aanvullende informatie 1:     2d10
    Aanvullende informatie 2:     2d10958005027d6e0c36717b2dc39dab
    Aanvullende informatie 3:     5384
    Aanvullende informatie 4:     538468aeed23aef40edb492cc7fa9a53
    Lees de onlineprivacyverklaring:
    http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0413
    Als de onlineprivacyverklaring niet beschikbaar is, lees dan onze offlineprivacyverklaring:
    C:\Windows\system32\nl-NL\erofflps.txt

    981243 wrote:
    So why not using Ju11 ? You can workaround the issue. It would sucks but still be safer than using Ju9.
    Also ask Mozilla forums if Firefox has options where to search for plugins.
    Or try 64-bit Firefox.As I explained in both threads ...
    Java 7 Update 10 Not Working with Firefox?
    Java 7 Update 11 Not Working with Firefox
    ... neither jre7u10 nor jre7u11 are working ... and they are BOTH broken with the same problem ... "Java(TM) Platform" pliugin is missing from the plug-in list. It cannot be enabled, because it simply is NOT there. A suggestion was made the jre7u12 will be the "fix" for this issue ... so I installed the Update 12 Preview and it sis ALSO broken, no "Java(TM) Platform" in the plug-in list.
    The ONLY Java version that actually works for me is jre7u9.
    As far as installing Firefox 64bit ... I see no future in installing a browser that has been discontinued.
    http://www.computerworld.com/s/article/9233976/Mozilla_suspends_work_on_64_bit_Firefox_for_Windows
    Even though Mozilla relented due to backlash, I continued development will be a somewhat low priority.
    http://www.computerworld.com/s/article/9234997/Mozilla_compromises_on_x64_Firefox_after_user_backlash

  • Java persistence: sequence generator not working in expected way.

    Hi,
    I just played around with java persistence api and found that sequence generator annotations for making new primary key value not working correctly in my code. following is part of my code related to this problem.
    in entity class:
    @SequenceGenerator(name="mySeq", sequenceName="MY_SEQ_IN_DB")
    @Id
    @GeneratedValue(strategy=SEQUENCE, generator="mySeq")
    @Column(name = "UPLOAD_ID", nullable = false)
    private Integer uploadId;
    I have a sequence called MY_SEQ_IN_DB in my oracle 9i testing db. When I ran the code to save a new entity instance to database I found that the new upload id is not the one that should be created from the MY_SEQ_IN_DB sequence, while the sequence was not increased either. It's instead something starting from 97 (in my pc), and increased just like a sequence, but every time I reran my code the sequence restarted itself again beginning with 97(of course the insert failed with primary key conflict). the behavior just looks like it's a sequence created and managed totally by the persistence api or toplink itself (I guess).
    So, my question is, is this a designed behavior or have I done something wrong to make it not using the correct sequence in the db?
    I used hibernate before, and assigning new primary key from sequence in this way works fine.
    Thanks
    JC.L

    There are some things in Java which can't be serialized. When contained within a higher-level class such as Buttons. A button can be associated with an Action Listener. Now, you can serialize a button; however you can't serialize an action listener - for what should be to you obvious reasons. This is NOT an error and so there is no need to throw an exception when serializing the button.
    Basically: Applet sends servlet button, but not listener.

  • Deploying web dynpro java application successfully but not working

    Hi all,
    I have a web dynpro java application. When I deployed in my local portal (7.10 SP6) it is working fine. But when I deployed in another portal (7.10 SP2) it is not working totally. In system default trace I saw below exception:
    Failed to create deployable object 'sap.com/a1sbicbc~unv' since it is not a Web Dynpro object.
    It seems that the web dynpro application was not deployed anymore, but in deployment UI I can see the package was deployed without any errors.
    In this situation, is there any other portal/java engine configuration which may prevent the web dynpro application being deployed? For example deployment or security policy, etc?
    Looking forward for replies.
    B.R.

    Hi,
    Try to undeploy the application from the server
    Then deploy it
    Regards
    Ayyapparaj

  • Java Web Start is not working on Firefox 3 Kubuntu 8.04 64bit

    Hi,
    When I try to access web start demo applications it redirects me to download page. It is not working for both Firefox 3 and Konqueror. If I type form command line javaws it will start some policy editor, which I assume means that web start is working. Is there any way to fix this?
    Alfas
    I am using:
    Firefox 3.0.1
    java version "1.6.0_06"
    Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
    Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
    Ubuntu 8.04.1
    KDE 3.5
    Applets were not working so I installed OpenJKD (now they work)
    OpenJDK Runtime Environment (build 1.6.0-b09)
    OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)

    plugin and webstart are not yet available in 64bit jre distributions from Sun.
    These are targeted to 6u12 or there abouts.
    /Andy

  • I have updated my iTunes to the newest version, 10-25 on a windows XP system. Now my java virtual machine is not working and I need it to run applet window. My Java is also newest version. What can I do to fix/repair my issue?

    I need help with java on windowsXP after updating iTunes to the latest version. My java will not work and I get error message need java virtual machine to run applet window. Did not have this problem prior to the iTunes update.
    Please help, Thanks

    If your library was working on your computer and then popped up empty all of a sudden then this might be what you need...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • HT5682 April 22, just installed the latest update to fix the Java problem, it does not work.

    About a week ago I installed a MAC update. I discovered that I was unable to play POGO games. I know that is not up there with all other uses of MAC... let's get back on track here. I have uninstalled and reinstalled, and reset preferences at least 6 times to get JAVA back.
    Some of my new BFF sites:
    Java for OS X 2013-002: How to re-enable the Apple-provided Java SE 6 web plug-in and Web Start functionality.
    Why is Java not working on my Mac?|EA Help
    Re: Bridge - Page 2 - Answer HQ   Java POGO
    Java for OS X 2013-003    get applet from Oracle
    My Intel MAC  circa 2009, is  running MAC OS X Lion  10.7.5   Safari 6.0.4
    Today I received another update from Apple stating it would provide the answer to POGO 6 and you can select certain sites that can be accessed.  
    This also was a FAIL!
    I now know the steps, can access TERMINAL without shaking, have learned to use GO to access UTILITIES.  I still end up with JAVA not recognizing that their software has a place in my heart and I truly hope on my computer soon.
    I have been playing a horrible game of Solitaire on another site.
    Are there others out there with this problem or is it just me? Can anyone suggest anything else?

    Thank you BDAua. This is what I typed and the reply from Terminal
    java -version
    java version "1.6.0_45"
    Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
    Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
    BTW - this application does NOT show up in the Applications folder and I consider that a bit odd.
    I also  tried typing Java for my computer to search for and this is what I got under
    Overview:
    PID: 944
    Host: localhost
    Main class: <unknown>
    Arguments: <none>
    JVM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01-451, mixed mode)
    Java: version 1.6.0_45, vendor Apple Inc.
    Java Home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    JVM Flags: <none>
    Heap dump on OOME: enabled
    I hope something is helpful within all of this info!

  • Java webstart proxy bypass not working

    java webstart does not work through proxy as the jar files is not getting downloaded. most simple solution would of course be to bypass the proxy for the target server (by entering the server in the system network preference panel). however, that does not work. apparently this bypass is not taken into account by java webstart.
    if i remember correctly there once was a possibility to set such things (proxy etc.) in java webstart preferences. this is not existing any more.
    how can i solve the problem?
    tia
    tobias (very desperate)

    Hi,
    Thanks a lot for your reply, Prateek.
    I have already checked SAP Note 1142580 - "Java Proxy is not processing messages in parallel" where they ask to modify the ejb-jar.xml. However, on performing the change in ejb-jar.xml and while building the EAR, I get the following error:
    Error! The state of the source cache is INCONSISTENT for at least one of the request DCs. The build might produce incorrect results.
    Then, on going through the SAP Note 1142580 again, I realised that the SAP Note 1230721 also should be looked onto which will be needed for generating the Java proxy from Message Interfaces in IR for parallel processing.
    Kindly help me if any of you have worked on such a scenario.
    Thanks in advance,
    Regards,
    Rosie Sasidharan.

  • My java is installed but not working

    My java is installed and it was working fine a couple of days ago but when i went to restart my computer my java had stop working. I checked to see if my enable java was checked in the security tab, and it is but it's still not working? Is something wrong with my Mac? since i had restarted my safari i'm thinking that was the issue.

    Check if your bank has a app for the iPad. It sounds like you are trying to use the bank's web page/site rather than using an app.

  • Grand Total Not working on Materialized view based table ??

    Hi all,
    I have a complex report report by using sum and decode function. I precalculated my requirment in database and then create a materialized view based on my sql statement. I import this view in physical and BM model and its results very fine and efficient. But the problem create when I implement Grand Total on my report in table view it did'nt work means (Grand Total is not working on this MV based table) Any idea why ??
    any reply would by higly appriciated.
    Regards

    Hi Zishan,
    Check the Aggregation Rule and set it to sum in the table view.
    That is go to the "edit formula" tab of the column for which you want grand total and set that to sum.
    Hope this will help.
    Thanks
    Ashok

Maybe you are looking for

  • Toshiba TV 2998ASU - sound but no image

    Hello friends I need you help I have a television toshiba 2998asu The sound of the DvD functions but the image does not appear in the screen. Please can I have an opinion, a tip. Please it sends the manual for me?

  • BAPI_MATERIAL_MAINTAINDATA_RT update gross weight for generic article

    Hi, I want to update the gross weight (MARM-BRGEW) for a generic article and it's variants. Sometimes, the new gross weight is not propagate to all the article related variants when I'm using BAPI BAPI_MATERIAL_MAINTAINDATA_RT ?? In the structure hea

  • ABAP Object Using standard BAPI

    When running ABAP program to convert Accounts Payable conversion documents, the program results indicate the document in the load program were created and returns the relevant document numbers.  However when validating the documents in BKPF, BSEG, or

  • Don't know how to setup a simple VLAN on the RVS4000

    I'm sure it is my lack of knowledge of networks, but even after reading the manual (!) I don't understand how I can set-up a simple VLAN on my new RVS4000. On my good old DrayTek it's very easy: it shows me a matrix of check boxes and all I have to d

  • Error Scheduling workbooks

    Hi All, I scheduled a report with granting Create Table,View and Procedure Privileges to the user. But it shows Error: Isufficient Privileges. I have also installed DBMS_JOB package What could be the problem? Thanks in Advance.