> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# NSFieldInfoDecimal

> Decimal (double precision) custom database field.

Decimal (double precision) custom database field.

## Constructors

### NSFieldInfoDecimal()

```crmscript theme={null}
NSFieldInfoDecimal
```

Initializes a new instance of the NSFieldInfoDecimal class.

## Methods

## GetDefaultValue()

```crmscript theme={null}
Float GetDefaultValue()
```

**Returns:** [CRMScript.Global.Float](CRMScript.Global.Float) - Default decimal (double precision) value.

**Example:**

```crmscript theme={null}
NSFieldInfoDecimal thing;
Float defaultValue = thing.GetDefaultValue();
```

## GetPrecision()

```crmscript theme={null}
Integer GetPrecision()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - How many decimals to display.

**Example:**

```crmscript theme={null}
NSFieldInfoDecimal thing;
Integer precision = thing.GetPrecision();
```

## SetDefaultValue(Float)

```crmscript theme={null}
Void SetDefaultValue(Float defaultValue)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSFieldInfoDecimal thing;
Float defaultValue;
thing.SetDefaultValue(defaultValue);
```

## SetPrecision(Integer)

```crmscript theme={null}
Void SetPrecision(Integer precision)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSFieldInfoDecimal thing;
Integer precision;
thing.SetPrecision(precision);
```
