When we are using java.io.DataInputstream and method readInt()or read doubl

Hi
When we are using java.io.DataInputStream some garbage value is coming
import java.io.*;
class DataDemo
public static void main(String ar[]) throws IOException
DataInputStream dis=new DataInputStream(System.in);
double d=dis.readDouble();
System.out.print("ERRRRR"+d);
when we input 234.66
its printing 7.123096485547326E-67
If anybody know why plz answer me
Regards
Rani

DataInputStream(System.in);Why do you expect this to create a double? It doesn't, see the documentation for the method, you're misusing it.

Similar Messages

  • Do you send the real traffic or a copy when you are using the CWS service and where are the datacenters located ?

    Hi, when you redirect traffic to the CWS service for scanning, do you redirect the real traffic this way or is it a mirrored copy of the traffic ?
    If all traffic is redirected to the Cloud, where are the Cisco datacenters located. Good to know I guess, since you don't want to avoid to much of latency
    /Jan

    Toddy, see [http://news.cnet.com/8301-30685_3-20004620-264.html?tag=mncol;txt]

  • TS4002 when to persons are using one apple ID and they sync their contacts to gather then first sync contacts are deleted. how we get it back?

    when to persons are using one apple ID and they sync their contacts to gather then first sync contacts are deleted. how we get it back?

    You can share the same Apple ID for purchasng form the iTunes and app stores without any problems, but you should all used separate iCloud accounts with separate Apple IDs.  (You are not required to use the same ID for iCloud and other services as you do for the iTunes store.)  This will prevent you from ending up with merged data.  You should also use separate Apple IDs for iMessage and FaceTime or you will end up getting each other's text messages and FaceTime calls.
    This article may be of interest: http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/, as well as this video: http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l.

  • Is it possible to monitor when apps are used?  Like say I have skpe and I talk to a friend for over 3 hours, could someone look and see that I did that without having my skype or iphone?

    Is it possible to monitor when apps are used and how long they have been used for?  Like say I have skpe or oovoo and I talk to a friend for over 3 hours, could someone look and see that I did that and how long I did it for without having my skype or iphone?

    We are having an identical issue with Photos. I'm able to add information and keywords when they're in my library, but as soon as I share them, all of that information disappears. I'm hoping it's possible because it's a much nicer way to browse shared photo albums than Dropbox.

  • PS CS5 Extended on Windows -  When trying to use the clone stamp and/or healing brush as soon as I move the cursor over the image I get an exact copy of the existing layer that moves around the window with the movement of the clone stamp/healing brush.  W

    PS CS5 Extended on Windows
    When trying to use the clone stamp and/or healing brush as soon as I move the cursor from the toolbar over to the image I get an exact copy of the existing layer that moves around the window with the movement of the clone stamp/healing brush.  This just started tonight.  What's causing this weird behaviour?

    What are the settings in Window > Clone Source?

  • #Error & #Syntax when we are using merged dimension in BO4.1 SP3

    Dear All,
    We are using BO4.1 SP3 and Bex query as datasource.
    When we are trying to take merged dimensions in Report block its giving #Syntax Error.
    When we are defining variable with merged dimension, its giving #Error message and the merged dimension is deleted from the definition.
    Please guide how can I use merged dimension.
    Kindly let us know if there are some update required in the current BO version.
    Warm Regards,
    Sonal

    First things abt merge dimension is that merge is applicable only on dimension not on measures.
    And other is dimension that are going to be merge should have same data type.
    I think you should check these conditions then it will works.
    Merge is nothing but full outer join between two data providers. It helps joining two result sets on webi level.
    Kindly attach your screen shots so that it would be helpful.

  • IPhone 4 soundis very low when headphones are used

    my iPhone volume is extremely low when i plug headphones in when listening to Netflix, Pandora, etc. When i unplug the headphones, the volume is normal when coming from the speakers in the phone- this only happens when we use headphones. We took the phone to the Apple store yesterday and they completely replaced the phone with a new one- and the new one is doing the same thing- you can barely hear anything when headphones are used.. all our sounds are turned all the way up- if there a way to configure the sound settings in iTunes for your iPhone???

    This sounds silly but did you remove the plastic tabs covering each ear plug?
    If so then read here : http://support.apple.com/kb/TS2802
    Good Luck

  • Received a replacement ipod nano in early January . Works well in a sound system but keeps turning off when earphones are used. tried 3 pair but same result. When tried for support comes up as  expires. Says I have to purchase . Why????

    Received an ipod nano replacement in January. It works in a sound system but keeps turning itself of or loosing sound when earphones are used. I have tried several sets os earphones with the same result. When I just tried to seek support my Serial number comes up with warranty expired although the letter says 3 mths warranty. What gives Apple ??? Any one any advice??/

    This is usually an indication that your headphones are not plugged all the way in.  The white plastic part of the headphones should be flush with the Nano and no silver from the plug should still be visible.  The headphone jacks on the new 6G Nanos are a bit tighter than previous generations, so it requires a bit of extra push to get the headphones to pop all the way in.
    Also check make sure the jack is clear of debris such as lint.
    B-rock

  • ItemFocusOut called twice when you are using datagrid

    Have you ever encountered itemFocusOut called twice when you
    are using datagrid. I use this event to check the text that has
    been entered.
    Also when I use regex expressions
    if((event.itemRenderer as TextInput).text.search(new
    RegExp(/.*\..*\./)) != -1){
    in the itemFocusOut method and someone enters
    234.34.234
    I get an error
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at
    mx.controls::DataGrid/destroyItemEditor()[C:\autobuild\3.2.0\frameworks\projects\framewor k\src\mx\controls\DataGrid.as:4000]
    at
    mx.controls::DataGrid/itemEditorItemEditEndHandler()[C:\autobuild\3.2.0\frameworks\projec ts\framework\src\mx\controls\DataGrid.as:4897]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9298]
    at
    mx.controls::DataGrid/endEdit()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\c ontrols\DataGrid.as:4041]
    at
    mx.controls::DataGrid/mouseDownHandler()[C:\autobuild\3.2.0\frameworks\projects\framework \src\mx\controls\DataGrid.as:4296]
    Could some be so kind as shed some light on this
    situation

    I've worked around the error. I had something to do with the
    fact that the event was being twice and I worked my handling code
    around to avoid the error. However the problem with the event still
    remains. I think it is because the data it in the grid is being
    refreshed intentially after the code in the itemFocusOut is called
    that is cause the second event to fire.

  • [svn:fx-trunk] 9320: Fix Application.url property when RSLs are used.

    Revision: 9320
    Author:   [email protected]
    Date:     2009-08-14 14:49:12 -0700 (Fri, 14 Aug 2009)
    Log Message:
    Fix Application.url property when RSLs are used.
    Use LoaderUtil.normalizeURL() to normalize the Application.url property. Do the same thing for both the Halo and Spark versions of Application.
    QE notes: None.
    Doc notes: None.
    Bugs: SDK-22154
    Reviewer: Alex
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22154
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as

  • TS4036 I purchased an iphone for my daughter and we are using the same account and she deleted some contacts from her phone and they were deleted off of my contacts as well. Is there a way to use icloud backup to reinstall the contacts to my phone?

    I purchased an iphone for my daughter and we are using the same account and she deleted some contacts from her phone and they were deleted off of my contacts as well. Is there a way to use icloud backup to reinstall the contacts to my phone?

    Welcome to the Apple community.
    You can only restore them from a Computer backup. This has occurred because you are sharing an iCloud account. ideally you should each have your own iCloud account, that way you can each manage your own mail, contacts, calendars, documents etc and avoid unintentional deletions and unwanted editing. If there is information you wish to share between you, this can be done with a secondary account.
    Having separate iCloud accounts, doesn't mean you have to have separate iTunes accounts, so whilst you keep your personal data separate, you can continue to share music, apps, books, TV shows, movies etc.

  • Release notes for 2.16 states that there was a fix for alerts not being modal. We are using 3.0.6 and are experiencing the same issue; was there a regression to the modal fix. What version needs to be used to make sure that alert messages are modal?

    Release notes for 2.16 states that there was a fix for alerts not being modal. We are using 3.0.6 and are experiencing the same issue; was there a regression to the modal fix. What version needs to be used to make sure that alert messages are modal?

    We are trying to determine why alert boxes are not modal
    The fix states it's for Firefox 2.0 - 3.7a1pre
    We are using 3.0.6 not the current version of 3.6.13.
    Add-on release notes 2.16.1
    https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/versions/
    Repeating 2.16 release notes since 2.16 was not made available for more than a couple of hours
    Fixed bug whereby some alert boxes weren't properly parented/owned. This led to some alerts not being properly modal
    with respect to the window/dialog that issued the alert.

  • How to find which datasource are using  tables AFRU ,CAUFV and AUFM

    *how to find which datasource are using  tables AFRU ,CAUFV and AUFM*

    Hi,
    You can enter your table names in SE11 transaction and click "Display" and again click "Where -Used-List". Then it will show all the places where these tables are used(Datasources)
    Hope this helps.....
    Regards,
    SUman

  • My macbook pro (2010 13inch) is really laggy when I'm using apps like iTunes and safari. the arrow on the screen seems to not respond and is laggy and when viewing videos it can be really laggy. I just want to know if it was a problem i could fix, thanks.

    My macbook pro (2010 13inch) is really laggy when I'm using apps like iTunes and safari. the arrow on the screen seems to not respond and is laggy and when viewing videos it can be really laggy. I just want to know if it was a problem i could fix, thanks.

    You might start with:
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time, then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    If the above reveals nothing helpful, then create a new user account. Log out of your account and log into the new account. Do the problems cease?

  • Which ports are used by oracle datbase and management agent other than 1521

    Hi,
    Which ports are used by oracle datbase and management agent other than 1521 and the default port of management agent?
    Regards,
    Rjiv.

    Check Port Numbers and Protocols of Oracle Components and also check your portlist.ini in $ORACLE_HOME/install directory.

Maybe you are looking for

  • How to connect more than one oracle databases in single form?

    Hi, I have installed Oracle database in three different servers with different users, but the table's structure are same in all three different database users. Now in one D2K form i want to connect and access, all three different database users at a

  • How to select a block of text in SE38?

    Not talking about CTRL+Y, that is good to select on reports or tables etc. I once knew the shortcut to select block text and paste block text in SE38. Does anyone remember that shortcut key? Thanks.

  • Convert from MM/DD/YYYY to YYYYMMDD

    Hi, I am getting dates like: 6/13/2005 10/6/2005 etc I want to convert it to 20050613 20051006 PLease help with the code Thanks SAPBW

  • BPEL and JDEV 10.1.2

    Hi, I made a BPEL process using JDEV 10.1.2, and everything was fine. The real problem is that I'm tryng to run the BPEL process in others BPEL engines and it seems like it doesn't work. The others engines ask me about .wsdd file, but JDEV 10.1.2 doe

  • TS1702 my app store keeps crashing

    After the update that was made today my app store continues to crash more than normal. I tried restoring my ipod and it still does it. Is this problem with my ipod or with the update what has issues?