How about just using a condition… when number is greater than 10, display text 10.