Values
In Finch stage and _all.yaml files, most numerical values are YAML strings.
| String Value | Numerical Value |
|---|---|
| "" | 0 or default value |
| “1” | 1 |
| “1,000” | 1000 |
| “1k” | 1000 |
| “1KB” | 1000 |
| “1KiB” | 1024 |
| “$params.foo” | 5 when params.foo = "5" |
Time durations (usually a configuration or parameter called freq) are Go time duration strings:
Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.
These strings evaluate to boolean true:
- “true”
- “yes”
- “on”
- “aye”
All other strings, including empty strings, evaluate to boolean false.