Files
modeling-app/docs/kcl-std/functions/std-units-toYards.md

28 lines
520 B
Markdown
Raw Normal View History

---
title: "units::toYards"
subtitle: "Function in std::units"
excerpt: "Converts a number to yards from its current units."
layout: manual
---
Converts a number to yards from its current units.
```kcl
units::toYards(@num: number(yd)): number(yd)
```
### Arguments
| Name | Type | Description | Required |
|----------|------|-------------|----------|
| `num` | [`number(yd)`](/docs/kcl-std/types/std-types-number) | A number | Yes |
### Returns
[`number(yd)`](/docs/kcl-std/types/std-types-number) - A number