Search:

Type: Posts; User: ///M Dood

Search: Search took 0.49 seconds.

  1. Replies
    2
    Views
    1,262

    Re: Casting from a whole number to a percent

    Wow, i just got that first try. Thank you! Code below for reference. You da man Greg


    class Retirement
    {
    public static void main(String[] args)
    {
    int age = 30;
    double salary = 30000.0;...
  2. Replies
    2
    Views
    1,262

    Casting from a whole number to a percent

    Hi,

    I had a question about data type casting. Is it possible to take an integer of say 25, and convert that into being a percent so 0.25? How would that look? Where could i go to kind of grasp...
Results 1 to 2 of 2