* Turn on uom checks Signed-off-by: Nick Cameron <nrc@ncameron.org> * Convert all lengths to mm for engine calls Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
28 lines
377 B
Markdown
28 lines
377 B
Markdown
---
|
|
title: "std::toYards"
|
|
excerpt: "Converts a number to yards from its current units."
|
|
layout: manual
|
|
---
|
|
|
|
Converts a number to yards from its current units.
|
|
|
|
|
|
|
|
```js
|
|
toYards(@num: number(yd)): number(yd)
|
|
```
|
|
|
|
|
|
### Arguments
|
|
|
|
| Name | Type | Description | Required |
|
|
|----------|------|-------------|----------|
|
|
| `num` | `number(yd)` | | Yes |
|
|
|
|
### Returns
|
|
|
|
`number(yd)`
|
|
|
|
|
|
|