Search:

Type: Posts; User: thisbeme

Search: Search took 0.65 seconds.

  1. Re: Need help with my double return function.

    Thanks I tried it and it worked!

    im just wondering if thats the only way to force the compiler to use floating point arithmetic?
  2. Need help with my double return function.

    public class Rectangle{

    public int num;
    public int den;
    public double val;

    public void display(){
    System.out.println(num);
    System.out.println(den);
    }
Results 1 to 2 of 2