Search:

Type: Posts; User: JavaPF

Search: Search took 0.12 seconds.

  1. Re: How to check an input is an integer as oppose to a float

    Hey Konnor,

    Glad I could help...

    Check out the Sun Java Tutorials:

    Lesson: Exceptions (The Java™ Tutorials > Essential Classes)

    The try Block (The Java™ Tutorials > Essential Classes >...
  2. Re: How to check an input is an integer as oppose to a float

    Hello Konnor and welcome to the Java Programming Forums :)

    Here is a simple method for you:



    import java.util.Scanner;

    public class Konnor {
Results 1 to 2 of 2