It compiles but crashes.
Re: How to test if a double has no fraction part
Namal via Digitalmars-d-learn Thu, 03 Sep 2015 05:56:39 -0700
Interesting, in contrary to C++ it saves the integral part in the
dummy variable. Doing this I noticed if I try to write a double
variable in the console it gives me only the integral part. I
only did it with writeln so far. How can I print out a double
variable with a precision of 2 for instance? I tried it with
writefln("%d", d)
- How to test if a double has no fraction pa... Namal via Digitalmars-d-learn
- Re: How to test if a double has no fr... rumbu via Digitalmars-d-learn
- Re: How to test if a double has n... Namal via Digitalmars-d-learn
- Re: How to test if a double h... wobbles via Digitalmars-d-learn