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

Method formatValue

app/src/UI/Dashboard.cpp:506–509  ·  view source on GitHub ↗

* @brief Formats a numerical value according to its context range. */

Source from the content-addressed store, hash-verified

504 * @brief Formats a numerical value according to its context range.
505 */
506QString UI::Dashboard::formatValue(double val, double min, double max) const
507{
508 return FMT_VAL(val, min, max);
509}
510
511/**
512 * @brief Retrieves the type of widget associated with a given widget index.

Callers 2

formatValueFunction · 0.45
getPaddedTextFunction · 0.45

Calls 1

FMT_VALFunction · 0.85

Tested by

no test coverage detected