MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / formattedValue

Method formattedValue

src/openms/source/KERNEL/DimMapper.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 String DimBase::formattedValue(const ValueType value) const
30 {
31 // hint: QLocale::c().toString adds group separators to better visualize large numbers (e.g. 23.009.646.54,3)
32 return String(this->getDimNameShort()) + ": " + QLocale::c().toString(value, 'f', valuePrecision());
33 }
34
35 String DimBase::formattedValue(const ValueType value, const String& prefix) const
36 {

Callers 7

drawCoordinates_Method · 0.80
drawDeltas_Method · 0.80
mouseMoveEventMethod · 0.80
mouseMoveEventMethod · 0.80
drawCoordinates_Method · 0.80
drawDeltas_Method · 0.80
contextMenuEventMethod · 0.80

Calls 2

StringClass · 0.50
toStringMethod · 0.45

Tested by

no test coverage detected