ConvertValueToDecimalNullable Method

Converts a value into a Decimal type number or null.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static decimal? ValueToDecimalNullable(
	Object value
)

Parameters

value  Object
Value to convert.

Return Value

NullableDecimal
Decimal with the value converted.

if the value cannot be converted.

Remarks

Use for double or single values and does not have losses in decimals.

See Also