* Show a more reasonable name in function docs Signed-off-by: Nick Cameron <nrc@ncameron.org> * Fix buggy docs for union types Signed-off-by: Nick Cameron <nrc@ncameron.org> * Make types in the docs signatures into links Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
28 lines
438 B
Markdown
28 lines
438 B
Markdown
---
|
|
title: "std::units::toFeet"
|
|
excerpt: "Convert a number to feet from its current units."
|
|
layout: manual
|
|
---
|
|
|
|
Convert a number to feet from its current units.
|
|
|
|
|
|
|
|
```kcl
|
|
units::toFeet(@num: [number](/docs/kcl/types/number)(ft)): [number](/docs/kcl/types/number)(ft)
|
|
```
|
|
|
|
|
|
### Arguments
|
|
|
|
| Name | Type | Description | Required |
|
|
|----------|------|-------------|----------|
|
|
| `num` | `number(ft)` | | Yes |
|
|
|
|
### Returns
|
|
|
|
`number(ft)`
|
|
|
|
|
|
|