ID:125455
 
Restricted Number by DivineTraveller
An easy way to keep a value between a min and a max.
2 fans · Created Jul 17 2011
Getting annoyed constantly doing if(hp>maxhp) hp=maxhp?
Want an easy solution?
Then give this library a test drive!

If you have any suggestions or bug reports, please leave them on my forum, or leave a comment here.