C# Класс Icing.Int32Extensions

Int32 extensions.
Показать файл Открыть проект

Открытые методы

Метод Описание
PadNumber ( this source, int maxNumberToMatch, char paddingChar = '0' ) : string

Returns a string that right-aligns the digits in this number by padding them on the left with a specified Unicode character, for a total length equal to that of the length of the maximum number to match.

Описание методов

PadNumber() публичный статический Метод

Returns a string that right-aligns the digits in this number by padding them on the left with a specified Unicode character, for a total length equal to that of the length of the maximum number to match.
is less than zero. is less than zero.
public static PadNumber ( this source, int maxNumberToMatch, char paddingChar = '0' ) : string
source this The source.
maxNumberToMatch int The maximum number to match.
paddingChar char A Unicode padding character.
Результат string