From b87a82b76a7237c1b36458ae801bc335f8c0eaf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 29 Mar 2025 11:47:47 +0100 Subject: [PATCH] Format --- README.md | 4 ++-- index.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5389f32..1cba262 100644 --- a/README.md +++ b/README.md @@ -486,8 +486,8 @@ Format ### Ints ```python {90:c} # 'Z'. Unicode character with value 90. -{90:b} # '1011010'. Number 90 in binary. -{90:X} # '5A'. Number 90 in uppercase hexadecimal. +{90:b} # '1011010'. Binary representation of the int. +{90:X} # '5A'. Hexadecimal with upper-case letters. ``` diff --git a/index.html b/index.html index 3017307..db30be2 100644 --- a/index.html +++ b/index.html @@ -56,7 +56,7 @@
- +
@@ -451,8 +451,8 @@ Point(x=1, y=2
  • This rule only effects numbers that can be represented exactly by a float (.5, .25, …).
  • Ints

    {90:c}                                   # 'Z'. Unicode character with value 90.
    -{90:b}                                   # '1011010'. Number 90 in binary.
    -{90:X}                                   # '5A'. Number 90 in uppercase hexadecimal.
    +{90:b}                                   # '1011010'. Binary representation of the int.
    +{90:X}                                   # '5A'. Hexadecimal with upper-case letters.
     

    #Numbers

    <int>      = int(<float/str/bool>)                # Or: math.trunc(<float>)
    @@ -2944,7 +2944,7 @@ $ deactivate                # Deactivates the active