odc.geo.math.maybe_int

odc.geo.math.maybe_int(x, tol)[source]

Turn almost ints to actual ints.

pass through other values unmodified.

Return type:

Union[int, float]