# DIMLUNIT System Variable
[GstarCAD 2012](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [D](%28D%29.md)
| | |
| --- | --- |
| Type | String |
| Saved-in | Drawing |
| Initial value | 2 |
| Range | 1-6 |
Sets units for all dimension types except Angular.
1 Scientific
2 Decimal
3 Engineering
4 Architectural (always displayed stacked)
5 Fractional (always displayed stacked)
6 Microsoft Windows Desktop (decimal format using Control Panel settings for decimal separator and number grouping symbols)
---
## Other versions with matching text
[GstarCAD 2011](../../../2011/System%20Variables/D/DIMLUNIT%20System%20Variable--03b69569b1e6.md)