# DISTANCE System Variable [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).md) → [D](Help%20System/GSTARCAD/2027/System%20Variables/D/(D).md) ## Function Description: The DISTANCE system variable is used to store the distance calculated by DIST command. (Read-Only) | | | | --- | --- | | Type | Real | | Saved in | Not saved | | Initial value | 0.0000 | --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables_Dgsv/DISTANCE.html) · © Gstarsoft Co., Ltd.