## preciseGreaterThan() function [​](/content/docs/sdk/core.precisegreaterthan#precisegreaterthan-function/index.html)

Returns true if the first number is greater than the second number to the given precision.

**Signature:**

```typescript
export declare function preciseGreaterThan(a: number, b: number, precision?: number): boolean;
```

## Parameters [​](/content/docs/sdk/core.precisegreaterthan#parameters/index.html)

| Parameter | Type | Description |
| --- | --- | --- |
| a | number | The first number. |
| b | number | The second number. |
| precision | number | _(Optional)_ Optional precision in number of digits. |

**Returns:**

boolean

True if the first number is greater than the second number to the given precision.

- [preciseGreaterThan() function](/content/docs/sdk/core.precisegreaterthan#precisegreaterthan-function/index.html)
- [Parameters](/content/docs/sdk/core.precisegreaterthan#parameters/index.html)
