Do something based on powers of 10?

Let's say Attribute A=10 and Attribute B=10 and B is constantly increasing (like a score). How would I perform an action whenever B is greater than or equal to A*any power of 10? In other words, it should do something whenever B=100 or 1,000 or 10,000, and so on.

Comments

Sign In or Register to comment.