+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "doStandardCalcs"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## doStandardCalcs() function

### doStandardCalcs() function

<b>Signature</b>

```typescript
export declare function doStandardCalcs(field: Field, ignoreNulls: boolean, nullAsZero: boolean): FieldCalcs;
```
<b>Import</b>

```typescript
import { doStandardCalcs } from '@grafana/data';
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  field | <code>Field</code> |  |
|  ignoreNulls | <code>boolean</code> |  |
|  nullAsZero | <code>boolean</code> |  |

<b>Returns:</b>

`FieldCalcs`

