Click or drag to resize
ValidateHelperIsNumberOrFloat Method
是否为整数或浮点数

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public static bool IsNumberOrFloat(
	string source,
	bool isNegative = false
)

Parameters

source
Type: SystemString

[Missing <param name="source"/> documentation for "M:Adf.ValidateHelper.IsNumberOrFloat(System.String,System.Boolean)"]

isNegative (Optional)
Type: SystemBoolean
是否允许为负数

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Adf.ValidateHelper.IsNumberOrFloat(System.String,System.Boolean)"]

See Also