mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Description of '-' symbol as used in format()
The existing description for the '-' symbol as use in format() stated that the result would padded spaces to the left. When tested in via 'terraform console' using format("%-10.1f", 3) the result was "3.0 " Terraform v1.1.7
This commit is contained in:
parent
7e849473a4
commit
d7316e79ca
@ -98,7 +98,7 @@ to set additional flags:
|
||||
| ------ | -------------------------------------------------------------- |
|
||||
| space | Leave a space where the sign would be if a number is positive. |
|
||||
| `+` | Show the sign of a number even if it is positive. |
|
||||
| `-` | Pad the width with spaces on the left rather than the right. |
|
||||
| `-` | Pad the width with spaces on the right rather than the left. |
|
||||
| `0` | Pad the width with leading zeros rather than spaces. |
|
||||
|
||||
By default, `%` sequences consume successive arguments starting with the first.
|
||||
|
Loading…
Reference in New Issue
Block a user