May involve rounding or truncation.
May involve rounding or truncation.
Creates a new Metric instance if the Try is successful and the value is valid, otherwise None is returned.
Creates a new Metric instance if the Try is successful and the value is valid, otherwise None is returned. Invalid numeric values are negative and NaN/Infinite.
Creates a new Metric instance if the value is valid, otherwise None is returned.
Creates a new Metric instance if the value is valid, otherwise None is returned. Invalid numeric values are negative and NaN/Infinite.
An defined value is neither negative nor NaN/Infinite:
An defined value is neither negative nor NaN/Infinite:
Factory for creating valid Metric instances.