Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The logging statements in C++ use printf-style formatting. For doubles, you should use the %f format specifier.

There are lots of good documents about the printf format types on the internet; for example: http://www.cplusplus.com/reference/cstdio/printf/