ValidatorHelper.IsNumber Method

HD.Common

ValidatorHelperIsNumber Method Helper帮助文档
判断字符串是否为数字

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static bool IsNumber(
	string str
)
Public Shared Function IsNumber ( 
	str As String
) As Boolean
public:
static bool IsNumber(
	String^ str
)
static member IsNumber : 
        str : string -> bool 

Parameters

str
Type: SystemString
待验证的字符窜

Return Value

Type: Boolean
bool
See Also

Reference