<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@csstools/css-calc](./css-calc.md) &gt; [conversionOptions](./css-calc.conversionoptions.md)

## conversionOptions type

**Signature:**

```typescript
export type conversionOptions = {
    onParseError?: (error: ParseError) => void;
    globals?: GlobalsWithStrings;
    precision?: number;
    devicePixelLength?: number;
    toCanonicalUnits?: boolean;
    censorIntoStandardRepresentableValues?: boolean;
    rawPercentages?: boolean;
    randomCaching?: {
        propertyName: string;
        propertyN: number;
        elementID: string;
        documentID: string;
    };
};
```
**References:** [ParseError](./css-calc.parseerror.md)<!-- -->, [GlobalsWithStrings](./css-calc.globalswithstrings.md)

