ID EN
Operators

truediv

Python 3.11

Return a / b where 2/3 is .66 rather than 0. This is also known as “true” division.

Syntax

PYTHON
operator.truediv(a, b)