FieldUtilitiesCheckPrecision Method |
Checks the precision of the value passed in as string. Assumes value is numeric.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public static bool CheckPrecision(
string valueAsString,
int precision,
ref string exceptionMessage
)
Public Shared Function CheckPrecision (
valueAsString As String,
precision As Integer,
ByRef exceptionMessage As String
) As Boolean
Parameters
- valueAsString
- Type: SystemString
The value as string. - precision
- Type: SystemInt32
The precision. - exceptionMessage
- Type: SystemString
The exception message.
Return Value
Type:
BooleanSee Also