Search:

Type: Posts; User: macko

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    1,802

    Re: why it is essential to use (int) ?

    ahh, My bad :D it gets abit confusing when handling all the difference number types of java.
  2. Replies
    4
    Views
    1,802

    Re: why it is essential to use (int) ?

    Its because your trying to use a float... 7.0 is a float value, But stating (int) is just like parsing it to an int from a float which it currently is.

    7.0 = Decimal point number = Float
    7 = no...
Results 1 to 2 of 2