Humph. Well, this version gets rid of the IF in favour of a double unary solution:
=VALUE(REPLACE(A1,LEN(A1),1,CHOOSE((--(RIGHT(TEXT(A1,"0.00"),1)="0")*10+RIGHT(TEXT(A1,"0.00"),1)),5,5,5,5,5,9,9,9,9,0)))
My mistake for being too enthusiastic about CHOOSE! :)