Why don't you multiply your decimal by 100 and then cut off however many places after the decimal point you want.