static string Constant(BigRational value) { return value.IsFraction() ? value.ToString() : value.Numerator.ToString(); }