Use from_value and to_value in Math