Deletes nonsignificant trailing zeroes from number string str. If number string ends in a decimal point, one trailing zero is added.