Skip to main content

common_numeric_type

Function common_numeric_type 

Source
pub fn common_numeric_type(a: &DataType, b: &DataType) -> Option<DataType>
Expand description

The type two numeric types are converted to before combining them: themselves if equal, Float64 if either is a float, Int64 otherwise. None if either is not numeric.