---
title: Part.units()
---

The `Part.units()` method returns a value formatted according to the
units set in settings.

:::note
This method is used internally. 
You will probably want to the use `units()` method you can destructure 
in [a part's draft method](/reference/api/part/draft) instead.
:::

