Tag Archives: C/C++

Round a Float to # of Significant Digits Following The Decimal Point

Unfortunately, this next couple of weeks I get to do some development in C, and have ran into the always lovely issue of rounding a floating point number within a given # of significant digits. First, the need to do … Continue reading

Posted in Software Development | Tagged | 2 Comments

Unexpected Library Behavior: Part 1 – QCheckBox setCurrentText(QString&)

Anyone using the Qt 3.x libraries have probably run into the occasional oddity, however what I’ve discovered is a little too odd to not mention. When dealing with combo boxes, you generally find helper functions that provide accessors / modifiers … Continue reading

Posted in Software Development | Tagged , | Leave a comment