Floating Point

Benjamin Saiz benj.saiz at gmail.com
Tue Feb 26 09:57:12 UTC 2013

Default precision for %f is 6 digits (ISO C99)
what's your test case ?

On Tue, Feb 26, 2013 at 10:32 AM, Aparna Bhat <aps2891 at gmail.com> wrote:

> Hi,
> I am working on a module for load balancing. I have to make use of the
> type float. Can anyone please tell me if there is any nginx specific data
> type for float such as the one that exists for int (ngx_int_t). I would
> also like to know how to write the float value to the logs. The type %f
> prints only the integer portion of the float value.
> Thank you in advance.
> With Regards,
> Aparna.
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

Saiz Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130226/f3890aac/attachment.html>

More information about the nginx mailing list