Results 1 to 5 of 5
- 02-20-2014, 07:10 AM #1
Member
- Join Date
- Oct 2013
- Posts
- 63
- Rep Power
- 0
Displaying the max and min value of a long integer
How do I write a program that shows the max and the min value of a float integer? Sorry the tittle says long, but I found out that in order to get the long I just type in System.out.println(Integer.MAX_VALUE); and System.out.println(Integer.MIN_VALUE); I don't know how to do it to a float integer.
Last edited by csanch11; 02-20-2014 at 08:02 AM.
- 02-20-2014, 07:17 AM #2
Member
- Join Date
- Oct 2013
- Posts
- 63
- Rep Power
- 0
Re: Displaying the max and min value of a long integer
....?????
Last edited by csanch11; 02-20-2014 at 08:03 AM.
- 02-20-2014, 09:12 AM #3
Re: Displaying the max and min value of a long integer
"It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013
- 02-20-2014, 07:23 PM #4
Senior Member
- Join Date
- Jan 2013
- Location
- Northern Virginia, United States
- Posts
- 6,226
- Rep Power
- 15
Re: Displaying the max and min value of a long integer
A float integer. I must resort to a bit of cruel kindness to tell you that such a beast does not exist in Java. It is either a float or an int. Or perhaps a double or a long.
Regards,
JimThe JavaTM Tutorials | SSCCE | Java Naming Conventions
Poor planning on your part does not constitute an emergency on my part
- 02-20-2014, 10:41 PM #5
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,422
- Blog Entries
- 7
- Rep Power
- 29
Similar Threads
-
Integer Comparison, Outputting Largest Integer Not Working
By killingthemonkey in forum New To JavaReplies: 4Last Post: 10-16-2011, 09:59 PM -
Extracting individual numbers from a long integer
By CurbYourEnthusiasm in forum New To JavaReplies: 6Last Post: 02-18-2011, 04:53 PM -
Letter L or l to long integer?
By Jagdeesh123 in forum New To JavaReplies: 1Last Post: 12-09-2010, 09:05 AM -
Please Review My Code (Long Integer Addition)
By Saradus in forum New To JavaReplies: 12Last Post: 07-05-2009, 02:01 PM -
Calculate sum of long integer!
By Julingo in forum New To JavaReplies: 2Last Post: 09-10-2008, 12:50 AM
Bookmarks