MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / round

Method round

lib/QSimpleUpdater/src/Downloader.cpp:505–508  ·  view source on GitHub ↗

* @brief Rounds the given @a input to two decimal places. */

Source from the content-addressed store, hash-verified

503 * @brief Rounds the given @a input to two decimal places.
504 */
505qreal Downloader::round(const qreal& input)
506{
507 return static_cast<qreal>(roundf(static_cast<float>(input) * 100) / 100);
508}
509
510/**
511 * @brief Returns the current download directory path.

Callers 15

tFunction · 0.80
jquery.jsFile · 0.80
CSSCoordinatesFunction · 0.80
transmitFunction · 0.80
transmitFunction · 0.80
transformFunction · 0.80
paintFunction · 0.80
paintFunction · 0.80
paintFunction · 0.80
modbusWriteRegisterFunction · 0.80
canSendValueFunction · 0.80
modbusWriteRegisterFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected