Floating Point

Aparna Bhat aps2891 at gmail.com
Tue Feb 26 09:32:58 UTC 2013


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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130226/9b3187d8/attachment.html>

More information about the nginx mailing list