mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 00:58:01 +00:00
Update cheatsheets
This commit is contained in:
27
tldr/float
Normal file
27
tldr/float
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# float
|
||||
|
||||
> Declare floating point variable(s).
|
||||
> Equivalent to `typeset -E` except that options irrelevant to floating point numbers are not permitted.
|
||||
> See also: `typeset`, `declare`.
|
||||
> More information: <https://manned.org/zshbuiltins>.
|
||||
|
||||
- Declare a floating point variable:
|
||||
|
||||
`float {{variable_name}}`
|
||||
|
||||
- Declare a floating point variable while assigning its value:
|
||||
|
||||
`float {{variable_name}}={{value}}`
|
||||
|
||||
- Declare multiple floating point variables:
|
||||
|
||||
`float {{var1=value1 var2=value2 ...}}`
|
||||
|
||||
- Display defined variables:
|
||||
|
||||
`float`
|
||||
Reference in New Issue
Block a user