C# 클래스 Dibware.StoredProcedureFramework.DataInfo.DecimalInfo

Represents information about a decimal. code courtesy of Jason Kresowaty Ref: http://stackoverflow.com/questions/763942/calculate-system-decimal-precision-and-scale
파일 보기 프로젝트 열기: dibley1973/StoredProcedureFramework 1 사용 예제들

공개 메소드들

메소드 설명
DecimalInfo ( int precision, int scale, int trailingZeros ) : System

Initializes a new instance of the DecimalInfo struct.

FromDecimal ( decimal value ) : DecimalInfo

Creates a DecimalInfo for the specified decimal.

메소드 상세

DecimalInfo() 공개 메소드

Initializes a new instance of the DecimalInfo struct.
public DecimalInfo ( int precision, int scale, int trailingZeros ) : System
precision int The precision.
scale int The scale.
trailingZeros int The trailing zeros.
리턴 System

FromDecimal() 공개 정적인 메소드

Creates a DecimalInfo for the specified decimal.
public static FromDecimal ( decimal value ) : DecimalInfo
value decimal The value.
리턴 DecimalInfo