Return the number value for value, given this field's `num_type`.
(self, value)
| 975 | super().__init__(**kwargs) |
| 976 | |
| 977 | def _format_num(self, value) -> _NumT: |
| 978 | """Return the number value for value, given this field's `num_type`.""" |
| 979 | return self.num_type(value) # type: ignore[call-arg] |
| 980 | |
| 981 | def _validated(self, value: typing.Any) -> _NumT: |
| 982 | """Format the value or raise a :exc:`ValidationError` if an error occurs.""" |
no test coverage detected