Any chance to have optional parameters on a macro?

 
#define D2S(_double) DoubleToString(_double)    // ok

#define D2S(_double, [digits=8]) DoubleToString(_double, [digits])      // possible ?

any suggestion ?

tnx in advance

 
No! Make a real function. Always minimize macros when possible.
 
William Roeder:
No! Make a real function. Always minimize macros when possible.

got it, thanks!