## preciseLessThanOrEquals() function

Returns true if the first number is less than or equal to the second number to the given precision.

**Signature:**

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

## Parameters

| 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 less than or equal to the second number to the given precision.

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