Method tos
tos(Span<Char>, out Int32, out Int32, out Int32, Boolean)
Converts the value on top of the stack to decimal digits.
Declaration
public void tos(Span<char> sp, out int ns, out int exp, out int rep, bool reps)
Parameters
Type | Name | Description |
---|---|---|
System.Span<System.Char> | sp | Span that preserves the decimal digits. |
System.Int32 | ns | The number of characters that were written in sp. |
System.Int32 | exp | Decimal point position. |
System.Int32 | rep | Index of repetition, otherwise -1. |
System.Boolean | reps | Check for repetitions. |
Remarks
Can be used for custom string builders, repetition checks etc.