Search:

Type: Posts; User: SPACE MONKEY

Search: Search took 0.16 seconds.

  1. Re: Rounding long or floating numbers, or longs for that matter.

    Dear JP:

    First link very helpful, second link I had and got nowhere tying to see how that page helped me round stuff to two significant places before I posted for an answer.

    I would have...
  2. Re: Rounding long or floating numbers, or longs for that matter.

    Dear All:

    Figured it out.


    import java.util.Scanner;
    import static java.lang.Math.*;
    import java.lang.Math.*;
    import java.lang.Double;
    import java.lang.Enum.*;
  3. Rounding long or floating numbers, or longs for that matter.

    Dear All:

    Simple code to ask you your wages, get the tax rate, and give you the value of the tax owed first the dollars, as an int type, and then display the cents owed as a double or long.
    ...
Results 1 to 3 of 3