AngouriMath
FloatToBaseN(PeterO.Numbers.EDecimal,System.Int32)
Method (no overloads)
Summary
Transforms a floating number, but this number should be in [0; 1]
Remarks
Multiplying an EDecimal by an integer is exact and never grows its
scale, so the digits are produced exactly and the sequence is eventually periodic.
A terminating expansion ends on its own; a repeating one (e. g. 0.125 in base 5,
which is 0.0303...) is cut off at MaxFractionalDigits(System.Int32) digits.
scale, so the digits are produced exactly and the sequence is eventually periodic.
A terminating expansion ends on its own; a repeating one (e. g. 0.125 in base 5,
which is 0.0303...) is cut off at MaxFractionalDigits(System.Int32) digits.
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1953 pages online