writeln double precision

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Oct 24 17:44:33 UTC 2017


On Tue, Oct 24, 2017 at 04:59:04PM +0000, jmh530 via Digitalmars-d-learn wrote:
> On Tuesday, 24 October 2017 at 16:18:03 UTC, H. S. Teoh wrote:
> > 
> > I have never seen a programming language in which dividing two
> > integers yields a float or double.  Either numbers default to a
> > floating point type, in which case you begin with floats in the
> > first place, or division is integer division, yielding an integer
> > result.
> > 
> > 
> > T
> 
> Haven't used Python 3+?

Haha, I guess I'm behind the times!


T

-- 
Gone Chopin. Bach in a minuet.


More information about the Digitalmars-d-learn mailing list