# DIMDEC System Variable [GstarCAD 2015](../../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 selected units or angle format. --- ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/D/DIMDEC%20System%20Variable--a8300eb85f74.md)