SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
displaynumber.h
Go to the documentation of this file.
1
16#ifndef OPENSWMMVIS_CORE_DISPLAYNUMBER_H
17#define OPENSWMMVIS_CORE_DISPLAYNUMBER_H
18
19#include <QString>
20
21namespace openswmmvis
22{
23
32[[nodiscard]] inline QString displayNumber(double value)
33{
34 return QString::number(value, 'g', 15);
35}
36
37} // namespace openswmmvis
38
39#endif // OPENSWMMVIS_CORE_DISPLAYNUMBER_H
Definition aquiferprovider.h:24
QString displayNumber(double value)
Format a number for display using 15 significant digits.
Definition displaynumber.h:32
double value
Definition rasterfluxintegration.cpp:27