osquery icon indicating copy to clipboard operation
osquery copied to clipboard

Using std::setprecision to get the right precision for double to string conversion.

Open getvictor opened this issue 1 year ago • 0 comments

Fixes https://github.com/osquery/osquery/issues/8301

boost::lexical_cast was not using the right precision for double-to-string conversion. Switched to using std::ostringstream.

getvictor avatar Mar 26 '24 21:03 getvictor