Show / Hide Table of Contents

Class NSFieldInfoDecimal

Decimal (double precision) custom database field.

Syntax

Constructors

NSFieldInfoDecimal()

Initializes a new instance of the NSFieldInfoDecimal class.

Introduced or updated in version: 8.5R08

Declaration
NSFieldInfoDecimal

Methods

GetDefaultValue()

Introduced or updated in version: 8.5R08

Declaration
Float GetDefaultValue()
Returns
Type Description
Float

Default decimal (double precision) value.

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

GetPrecision()

Introduced or updated in version: 8.5R08

Declaration
Integer GetPrecision()
Returns
Type Description
Integer

How many decimals to display.

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

SetDefaultValue(Float)

Introduced or updated in version: 8.5R08

Declaration
Void SetDefaultValue(Float defaultValue)
Parameters
Type Name Description
Float defaultValue

Default decimal (double precision) value.

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

SetPrecision(Integer)

Introduced or updated in version: 8.5R08

Declaration
Void SetPrecision(Integer precision)
Parameters
Type Name Description
Integer precision

How many decimals to display.

Returns
Type Description
Void
Examples
NSFieldInfoDecimal thing;
Integer precision;
thing.SetPrecision(precision);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top