Jump to content

Displaying/formatting items(int) gained per hour(long)?


Recommended Posts

Posted

Hey :) 

If I want to display how many fish I've caught per hour, how do I go about that?

When displaying how long the script has been running I format the long type to a String.

I tried formatting the long type (how long the script has been running for) to an Integer, - returning an integer. This so that I can divide the fishCount int variable with another int variable.. But it doesn't seem to work :o 

I do realize I might have to learn some more java for this though hahah..

Any help appreciated :)

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...