MCPcopy Create free account
hub / github.com/TheWaveWarden/odin2 / getTextFromValue

Method getTextFromValue

Source/gui/DrawableSlider.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47String DrawableSlider::getTextFromValue(double value) {
48 //apparently there's a better solution:
49 //https://forum.juce.com/t/setnumdecimalplacestodisplay-not-behaving-solved/33686/2
50 return String(value, getNumDecimalPlacesToDisplay()) + getTextValueSuffix();
51}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected