integer division with float result

Janice Caron caron800 at googlemail.com
Sun Nov 18 15:54:46 PST 2007


On 11/18/07, Lars Noschinski <lars-2006-1 at usenet.noschinski.de> wrote:
> * Stas Sergeev <stsp at aknet.ru> [07-11-18 22:10]:
> >I haven't used D yet, but I know that most
> >(or all?) of the C-unrelated languages do
> >that in a proper way, and even the Python
> >developers are going to fix that in the future.
>
> Which languages do that (without having a separate operator for integer
> division)?

PHP does. But then, PHP doesn't have statically typed variables, so
maybe that doesn't count.



More information about the Digitalmars-d mailing list