# tfdf.py_tree.dataspec.discretized_numerical_to_numerical

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/decision-forests/blob/main/tensorflow_decision_forests/component/py_tree/dataspec.py#L142-L158) |

Converts a discretized numerical value to a matching numerical value.

    tfdf.py_tree.dataspec.discretized_numerical_to_numerical(
        column_spec: data_spec_pb2.Column, value: int
    ) -> float