Dynamic integer will be any number from 0 to 150.
i.e. - number returns 41, need to return 50. If number is 10 need to return 10. Number is 1 need to return 10.
How about using integer math:
N=41 N+=9 // Add 9 first to ensure rounding. N/=10 // Drops the ones place N*=10 // Puts the ones place back with a zero