Results 1 to 2 of 2

Thread: Get hourly report

  1. #1
    Join Date
    Mar 2013
    Location
    Shaolin
    Posts
    862
    Mentioned
    24 Post(s)
    Quoted
    519 Post(s)

    Default Get hourly report

    For the life of me cannot imagine the math inside my head to get an hourly progress report for my script.
    Var aliSells is the amount of total trips made
    Simba Code:
    aliSells := aliSells + 1;
    extendo := (((alisells * 27) * 10000)/(time/3600000));
        writeLn('*************************************************');
        writeLn('Inventories sold to Ali: ' + intToStr(aliSells));
        writeLn('Time running:            ' + timeRunning);
        writeLn('Approximate money made:  ' + intToStr((alisells * 27) * 10000));
        writeLn('                This is: ' + toStr(extendo) + '/hr');
        writeLn('Interruptions:           ' + intToStr(bites));
        writeLn('                This is: ' + intToStr(bites * 5) + ' seconds');
        writeLn('*************************************************');

    You can probably guess that extendo is the GP/hr and that is where I am running into issues. I am horrendous with math and would appreciate any help thx
    You have permission to steal anything I've ever made...

  2. #2
    Join Date
    Jan 2012
    Location
    Sydney, Australia
    Posts
    857
    Mentioned
    12 Post(s)
    Quoted
    352 Post(s)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •