Big Integer.Try Format Method
Tries to format this value into a span of characters.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
true if formatting succeeds; otherwise, false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public bool TryFormat(
Span<char> destination,
out int charsWritten,
ReadOnlySpan<char> format,
IFormatProvider? provider
)Parameters
- destination Span<Char>
- The span that receives the formatted characters.
- charsWritten Int32
- On success, receives the number of characters written.
- format ReadOnlySpan<Char>
- A standard or custom numeric format string.
- provider IFormatProvider
- An object that supplies culture-specific formatting information.
Return Value
Booleantrue if formatting succeeds; otherwise, false.