I was cheking some examples at http://jcc_7.tripod.com/d/tutor/ by
jccalvarese, and saw that that in the currency example he doesn't
make use of the parameter's default values (probably not yet
implemented in D by that time).
The first 3 functions could be expressed with only one:
char[] toStringFromDouble(double i, int decPlaces=2, char[] sep=".")
{
int whole;
.
.
.
Mariano.