Click or drag to resize

PFDataCollectionGetValueDecimal Method (String, Boolean)

Gets a value in decimal format. Will try to convert the value if necessary. Will return 0 if the value is null or could not be converted, except if canBeNull is true.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
protected Object GetValueDecimal(
	string fieldName,
	bool canBeNull
)

Parameters

fieldName
Type: SystemString
Name of the SQL column or of the PFField.
canBeNull
Type: SystemBoolean
If true, null can be returned if the value is null.

Return Value

Type: Object
See Also