‐‐‐ Original Message ‐‐‐
On Wednesday, 4 December 2019 12:16, BoraxMan via D.gnu
wrote:
> On Wednesday, 4 December 2019 at 09:41:58 UTC, BoraxMan wrote:
>
> > I have noted that DMD and GDC provide a different output to the
> > following line of code.
> > writeln(format("$%-12,3.2f",66543
On Wednesday, 4 December 2019 at 09:41:58 UTC, BoraxMan wrote:
I have noted that DMD and GDC provide a different output to the
following line of code.
writeln(format("$%-12,3.2f",66543.22));
DMD outputs
$66,543.22
GDC outputs
$66,543.22 ,
As you can see, GDC puts a superflous comma at the
I have noted that DMD and GDC provide a different output to the
following line of code.
writeln(format("$%-12,3.2f",66543.22));
DMD outputs
$66,543.22
GDC outputs
$66,543.22 ,
As you can see, GDC puts a superflous comma at the end. The goal
of this line is to convert a float to a monetary