Is there a format string to format a decimal to 000000000,00.
So first 9 digits, right padded with zeros if needed; a comma as fraction separator and two fraction digits.
- 0 => 00000000,00
- 12 => 00000012,00
- 987456,456 => 000987456,46
So something like myDecimal.ToString(“D9”) together with .ToString(“F2”)
1 Answer