toDecimalString

fnstring toDecimalString(const BigInt x) pure @safe

Converts a BigInt to its decimal string representation.

This is a module-level free function that wraps the BigInt.toDecimalString() method for compatibility with std.bigint.

Parameters

xThe BigInt value to convert

Returns

Decimal string representation of the BigInt