ID:145797
 
Code:

Maxxp=(LVL**(LVL-FSI/10))*100


I realize that this just might be a very easy fix, but it has me stumped for the time being. What I want is for my formulas above not to run off with a string of decimal numbers. I want them to round out. Because as it is, (as is with most formals) I will end up with an infinite loop if the correct (or wrong depending on how you loook at it) numbers are placed within.

By the way FSI = Foresight ability to level up faster, and I am sure it will evolve into more later on in the code work.

P.S. Math never was my strong point (which is why Im not a CS Major [anymore])

Thanks for your help guys.


round() proc.
In response to Mysame
Awesome! and a fast response! Thanks..