Matlab, 74 71 bytes
s=input('');x=s(end);[s(1:end-1) [0 46]+(x>46)*[47 46]+(x>47)*[45 -45]]
Based on the last character, it computes the last two characters.
s=input('');x=s(end);[s(1:end-1) [0 46]+(x>46)*[47 46]+(x>47)*[45 -45]]
Based on the last character, it computes the last two characters.