public double Random(double lower, double upper, bool floating) { var result = lower + _random.Random() * upper; return(floating ? result : (result < 0 ? _lodashMath.Ceil(result) : _lodashMath.Floor(result))); }
public double Ceil(double number, int precision = 0) => _lodashMath.Ceil(number, precision);