1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

docs: fix typo (#13381)

This commit is contained in:
Ikko Ashimine 2022-02-06 18:39:35 +09:00 committed by GitHub
parent 66f21cae55
commit 31739c2586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -585,7 +585,7 @@ To use a format specifier, follow this pattern:
support the use of `'` or `#` as format flags, and V supports but doesn't need `+` to right-align support the use of `'` or `#` as format flags, and V supports but doesn't need `+` to right-align
since that's the default.) since that's the default.)
- width: may be an integer value describing the minimum width of total field to output. - width: may be an integer value describing the minimum width of total field to output.
- precision: an integer value preceeded by a `.` will guarantee that many digits after the decimal - precision: an integer value preceded by a `.` will guarantee that many digits after the decimal
point, if the input variable is a float. Ignored if variable is an integer. point, if the input variable is a float. Ignored if variable is an integer.
- type: `f` and `F` specify the input is a float and should be rendered as such, `e` and `E` specify - type: `f` and `F` specify the input is a float and should be rendered as such, `e` and `E` specify
the input is a float and should be rendered as an exponent (partially broken), `g` and `G` specify the input is a float and should be rendered as an exponent (partially broken), `g` and `G` specify