%x and floats

Trass3r un at known.com
Thu Feb 24 10:27:39 PST 2011


Why doesn't this work:

import std.stdio;
void main()
{
	float a,b=0;
	writefln("%x %x", a, b);
}

std.format.FormatError: std.format floating


More information about the Digitalmars-d-learn mailing list