Recently, long.ToMetric support was merged. This method parallels int.ToMetric in its specification. However, as was pointed out by @petervanleeuwen, its interpretation of the decimals parameter is incorrect.
((int)1).ToMetric(decimals: 5) => "1"
((long)1).ToMetric(decimals: 5) => "1.00000" // should be "1" as with int
I will create a PR that corrects this shortly.
Recently,
long.ToMetricsupport was merged. This method parallelsint.ToMetricin its specification. However, as was pointed out by @petervanleeuwen, its interpretation of thedecimalsparameter is incorrect.I will create a PR that corrects this shortly.