23 lines
312 B
Markdown
23 lines
312 B
Markdown
![]() |
---
|
||
|
title: units()
|
||
|
---
|
||
|
|
||
|
```js
|
||
|
string part.units(float number)
|
||
|
```
|
||
|
|
||
|
Formats input (in mm) as the units requested by the user.
|
||
|
|
||
|
<Tip>
|
||
|
|
||
|
###### This method is available as shorthand
|
||
|
|
||
|
You can access this units method from the [Part.shorthand](#shorthand) method:
|
||
|
|
||
|
```js
|
||
|
let { units } = part.shorthand();
|
||
|
```
|
||
|
|
||
|
</Tip>
|
||
|
|