Jump to content
McKay Development

Correct to nearest integer


Gamer80

Recommended Posts

Hi there, I would like to ask if there's a way to force the bot to correct to nearest integer for the price.

Because my bot doesn't seems like calculating the correct amount of scrap metals.

 

For example, I am set the price to 33.88 refined metal and when it times 9, the number goes to 304.92 and i would want to know if there's a way to corr to  nearest integer so that it will calculate as 305 scrap metal.

 

Thanks very much

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...