# DIMDEC System Variable [GstarCAD 2011](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [D](%28D%29.md) | | | | --- | --- | | Type | Integer | | Saved-in | Drawing | | Initial value | 4 | | Range | 0-8 | Sets the number of decimal places displayed for the primary units of a dimension. The precision is based on the units or angle format you have selected. --- ## Other versions with matching text [GstarCAD 2012](../../../2012/System%20Variables/D/DIMDEC%20System%20Variable.md)