Class NSFieldInfoDecimal

Decimal (double precision) custom database field.

Constructors

NSFieldInfoDecimal()

Initializes a new instance of the NSFieldInfoDecimal class.

Declaration

NSFieldInfoDecimal

Methods

GetDefaultValue()

Declaration

Float GetDefaultValue()

Examples

NSFieldInfoDecimal thing;
Float defaultValue = thing.GetDefaultValue();

Returns

Type Description
Float Default decimal (double precision) value.

GetPrecision()

Declaration

Integer GetPrecision()

Examples

NSFieldInfoDecimal thing;
Integer precision = thing.GetPrecision();

Returns

Type Description
Integer How many decimals to display.

SetDefaultValue(Float)

Declaration

Void SetDefaultValue(Float defaultValue)

Examples

NSFieldInfoDecimal thing;
Float defaultValue;
thing.SetDefaultValue(defaultValue);

Parameters

Type Name Description
Float defaultValue Default decimal (double precision) value.

Returns

Type Description
Void

SetPrecision(Integer)

Declaration

Void SetPrecision(Integer precision)

Examples

NSFieldInfoDecimal thing;
Integer precision;
thing.SetPrecision(precision);

Parameters

Type Name Description
Integer precision How many decimals to display.

Returns

Type Description
Void