Method | Description | |
---|---|---|
ToDecimal ( this input, decimal &output ) : bool | ||
ToDecimal ( this input, decimal defaultValue ) : decimal | ||
ToDouble ( this input, double &output ) : bool | ||
ToDouble ( this input, double defaultValue ) : double | ||
ToInt32 ( this input, int &output ) : bool | ||
ToInt32 ( this input, int defaultValue ) : int | ||
isDecimal ( this input ) : bool |
判断输入是否为小数
|
|
isInt ( this input ) : bool |
判断输入是否为整数
|
|
isNumber ( this input ) : bool |
判断输入是否为数字
|
public static ToDecimal ( this input, decimal &output ) : bool | ||
input | this | |
output | decimal | |
return | bool |
public static ToDecimal ( this input, decimal defaultValue ) : decimal | ||
input | this | |
defaultValue | decimal | |
return | decimal |
public static ToDouble ( this input, double &output ) : bool | ||
input | this | |
output | double | |
return | bool |
public static ToDouble ( this input, double defaultValue ) : double | ||
input | this | |
defaultValue | double | |
return | double |
public static ToInt32 ( this input, int &output ) : bool | ||
input | this | |
output | int | |
return | bool |
public static ToInt32 ( this input, int defaultValue ) : int | ||
input | this | |
defaultValue | int | |
return | int |
public static isDecimal ( this input ) : bool | ||
input | this | |
return | bool |