RE: setlocale


Subject: RE: setlocale
From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Tue Apr 17 2001 - 15:50:17 CDT


> dom> setlocale(LC_NUMERIC, "C"); // set locale to C sprintf(buf,
> dom> "%.4f", float_foo); setlocale(LC_NUMERIC, ""); // reset locale
>
> Bill:
> Now *that* is my idea of a good place for a macro.

I don't think the preprocessor can handle macros with variable
parameters, but I could be wrong.

Tomas



This archive was generated by hypermail 2b25 : Tue Apr 17 2001 - 15:51:22 CDT