Decimal Method
Collapse the table of content
Expand the table of content

Validator.Decimal Method

Defines a validation test that tests whether a value can be treated as a decimal number.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

static member Decimal : 
        errorMessage:string -> IValidator

Parameters

errorMessage
Type: System.String
The error message to display if validation fails.

Return Value

Type: System.Web.WebPages.IValidator
The validation test.
Show:
© 2016 Microsoft