AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

TypeExtension..::..ToDecimal Method

Converts to decimal.

Namespace:  AdvantageCMS.Core.Common.Extension
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static Nullable<decimal> ToDecimal(
	this string s,
	Nullable<decimal> defaultValue
)

Parameters

s
Type: String
The s.
defaultValue
Type: Nullable<(Of <(<'Decimal>)>)>
The default value.

Return Value

System.Nullable<System.Decimal>.