FixedDecimal!(I, S2) holding the same numeric value.FixedDecimal.atScale
auto atScale(int S2)() if (S2 >= 0 && S2 <= precisionOf!I) const @safe pureConverts to a fixed-scale type (checked).
Parameters
S2 | target compile-time scale in 0..precision. |
Returns
Throws
FixedDecimalException on overflow or inexact downscaling.