From 858976a9129e367692f5f19e62a54c02a2b74380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 13 Dec 2019 02:46:28 +0100 Subject: [PATCH] Numbers --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 44b2f5b..6cfd031 100644 --- a/README.md +++ b/README.md @@ -484,7 +484,7 @@ Numbers ### Types ```python = int() # Or: math.floor() - = float() # Or: ±e + = float() # Or: = complex(real=0, imag=0) # Or: + j = fractions.Fraction(numerator=0, denominator=1) = decimal.Decimal() diff --git a/index.html b/index.html index cd7f92e..1ed4f36 100644 --- a/index.html +++ b/index.html @@ -563,7 +563,7 @@ to_exclusive = <range>.stop

#Numbers

Types

<int>      = int(<float/str/bool>)    # Or: math.floor(<float>)
-<float>    = float(<int/str/bool>)    # Or: <real>±e<int>
+<float>    = float(<int/str/bool>)    # Or: <real>e±<int>
 <complex>  = complex(real=0, imag=0)  # Or: <real> + <real>j
 <Fraction> = fractions.Fraction(numerator=0, denominator=1)
 <Decimal>  = decimal.Decimal(<str/int/float>)