40%= 0.40 if you think of the decimal being at the end of the number (40.%) than just move the decimal twice makes it 0.40