Gamer80 Posted October 25, 2017 Report Posted October 25, 2017 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 Quote
Dr. McKay Posted October 25, 2017 Report Posted October 25, 2017 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round Quote
Recommended Posts
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.