Modify step 2 so you subtract 1 from the roll first, then multiply by 10. That way if you roll a 1, the 10's digit becomes a 0.
Modify step 2 so you subtract 1 from the roll first, then multiply by 10. That way if you roll a 1, the 10's digit becomes a 0.