---
title: "Unit Format Settings"
slug: "guide/configuration/session-start-up-file-options/unit-format-settings"
sidebar:
  order: 59
---

<a id="ref-88c518fffb75"></a>
<a id="ref-6fe95fb674c8"></a>

## Synopsis

```properties
egr.eai.gf.UnitFormatter.LengthUnit=<length-unit>
egr.eai.gf.UnitFormatter.LengthRepresentation=<unit-repr>
egr.eai.gf.UnitFormatter.LengthPrecision=<integer>
egr.eai.gf.UnitFormatter.LengthGrouping=<boolean>
egr.eai.gf.UnitFormatter.LengthUnitDisplayed=<boolean>
egr.eai.gf.UnitFormatter.LengthUpperCase=<boolean>
egr.eai.gf.UnitFormatter.AngleUnit=<angle-unit>
egr.eai.gf.UnitFormatter.AnglePrecision=<integer>
egr.eai.gf.UnitFormatter.AngleZeroDirection=<floating-point>
egr.eai.gf.UnitFormatter.MaxAngle=<floating-point>
egr.eai.gf.UnitFormatter.AngleUnitDisplayed=<boolean>
egr.eai.gf.UnitFormatter.AngleMathPositive=<boolean>
egr.eai.gf.UnitFormatter.AreaUnit=<area-unit>
egr.eai.gf.UnitFormatter.AreaRepresentation=<unit-repr>
egr.eai.gf.UnitFormatter.AreaPrecision=<integer>
egr.eai.gf.UnitFormatter.AreaGrouping=<boolean>
egr.eai.gf.UnitFormatter.AreaUnitDisplayed=<boolean>
egr.eai.gf.UnitFormatter.AreaUpperCase=<boolean>
```

```text
<length-unit>: mm|cm|dm|m|in|ft|in_dq|ft_sq|architectural|yd
<angle-unit>: degrees|radians
<area-unit>: mm2|cm2|dm2|m2|sq_in|sq_ft|sq_yd
<unit-repr>: scientific|fixed|auto|fraction
```

`in_dq` stands for inch represented with double quotes. `ft_sq` means feet represented as single quote and `architectural` is the combination of `ft_sq` and `in_dq` with `-` as delimiter.

The length representation `scientific` stands for floating-point numbers. `fixed` represents fixed-point numbers. `auto` shows the numbers depending on the value either as floating-point number or fixed-point number. `fraction` represents the number as fraction.

`LengthUnitDisplayed` defines whether units should be displayed. `LengthUpperCase` defines whether the exponent should be represented with capital or small `E` (only in case of `scientific` or `auto` with corresponding value).

`AngleZeroDirection` defines the direction of the 0-degree-angle in radian measure. It is subtracted from an absolute angle before formating. `MaxAngle` defines the maximum angle in radian measure. After converting the angle which should be displayed into `]-2pi,+2pi[` 2pi is subtracted in case the angle is bigger as the maximum angle or 2pi is added in case the angle is negative and after adding 2pi smaller or equal the maximum angle.
