2 ms·
Pascal and Visual Basic do something similar for division.
by TazeTSchnitzel 12y ago
Pascal and Visual Basic do something similar for division.
- vog 12y agoAlso, Python3 has a separate operator, "1 / 2" versus "1 // 2", where "/" is always floating point and "//" is always integer. Python2 also has "1 // 2", but the "/" operator can be floating point as well as integer, depending on the inputs.