The Artima Developer Community
Sponsored Link

Java Answers Forum
convert to Int

1 reply on 1 page. Most recent reply: Jun 13, 2002 1:22 PM by gopi

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Borislav

Posts: 4
Nickname: boboes
Registered: Jun, 2002

convert to Int Posted: Jun 13, 2002 10:35 AM
Reply to this message Reply
Advertisement
How can I convert varibale(Result) from double to Int?


gopi

Posts: 5
Nickname: gopi
Registered: Jun, 2002

Re: convert to Int Posted: Jun 13, 2002 1:22 PM
Reply to this message Reply
Double double=new Double(4);
int i=double.intValue();

Flat View: This topic has 1 reply on 1 page
Topic: a problem working with foreign languages Previous Topic   Next Topic Topic: Polymorphism Problem

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use