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
21
namespace
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
openswmmvis
Definition
aquiferprovider.h:24
openswmmvis::displayNumber
QString displayNumber(double value)
Format a number for display using 15 significant digits.
Definition
displaynumber.h:32
value
double value
Definition
rasterfluxintegration.cpp:27
include
core
displaynumber.h
Generated by
1.9.8