Show / Hide Table of Contents

Class NSFieldInfoDecimal

Decimal (double precision) custom database field.

Syntax

Constructors

NSFieldInfoDecimal()

Initializes a new instance of the NSFieldInfoDecimal class.

Declaration
NSFieldInfoDecimal

Methods

GetDefaultValue()

Decimal (double precision) custom database field.

Declaration
Float GetDefaultValue()
Returns
Type Description
Float

Default decimal (double precision) value.

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

GetPrecision()

Decimal (double precision) custom database field.

Declaration
Integer GetPrecision()
Returns
Type Description
Integer

How many decimals to display.

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

SetDefaultValue(Float)

Decimal (double precision) custom database field.

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

Default decimal (double precision) value.

Returns
Type Description
Void
Examples
NSFieldInfoDecimal thing;
Float defaultValue;
thing.SetDefaultValue(defaultValue);

SetPrecision(Integer)

Decimal (double precision) custom database field.

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);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top