diff --git a/README.md b/README.md index e0dd57a..7ab893f 100644 --- a/README.md +++ b/README.md @@ -471,6 +471,7 @@ Format | 56.789 | '5.7e+01' | '56.79' | '5.68e+01' | '5678.90%' | +--------------+----------------+----------------+----------------+----------------+ ``` +* **`'{:g}'` is `'{:.6}'` with stripped zeros, exponent starting at 7 figures.** * **When both rounding up and rounding down are possible, the one that returns result with even last digit is chosen. That makes `'{6.5:.0f}'` a `'6'` and `'{7.5:.0f}'` an `'8'`.** * **This rule only effects numbers that can be represented exactly by a float (`.5`, `.25`, …).** diff --git a/index.html b/index.html index 3b77db2..f955b68 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@
- +
@@ -435,6 +435,7 @@ Point(x=1, y=2 @@ -2932,7 +2933,7 @@ $ pyinstaller script.py --add-data '<path>:.'