floating point output formatting for log file