Double to Integer

By: Marcelo - mike81
Double to Integer
2004-07-23 15:45
Hi,

How I can turn a variable of Double to Integer?

Thank's.




By: Rick Millar - rmillar
RE: Double to Integer
2004-07-23 16:01
Check out the following link:
http://java.sun.com/j2se/1.3/docs/api/java/lang/Double.html

See the intValue() method.

Example: new Integer( $F{mydoublevariable}.intValue() )
2004 IR Help's picture
Joined: Aug 17 2006 - 3:49am
Last seen: 16 years 9 months ago

0 Answers:

No answers yet
Feedback
randomness