fractionDigits should be optional

In double.toStringAsExponential() the fractionDigit parameter is optional. The same should apply to rational's function.