C# 클래스 Icing.Int64Extensions

Int64 extensions.
파일 보기 프로젝트 열기: benallred/Icing

공개 메소드들

메소드 설명
PadNumber ( this source, long 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, long maxNumberToMatch, char paddingChar = '0' ) : string
source this The source.
maxNumberToMatch long The maximum number to match.
paddingChar char A Unicode padding character.
리턴 string