Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 321 Bytes

floor-division.md

File metadata and controls

11 lines (7 loc) · 321 Bytes

Floor divison

“Floor division” returns the “floor” of the result, or the result of the division rounded down to the nearest integer

Example

floating_point_divison = 3 / 2  # returns 1.5 - Floating point division

floor_division = 3 // 2 # returns 1 - Floor division (AKA Integer division)