Update feet and inches format to match architectural convention

This commit is contained in:
Tom Sutcliffe 2021-08-13 14:14:55 +01:00 committed by phkahler
parent 959cf5ba75
commit e86eb65985

View File

@ -352,7 +352,7 @@ std::string SolveSpaceUI::MmToString(double v, bool editable) {
} }
std::ostringstream str; std::ostringstream str;
if(feet != 0) { if(feet != 0) {
str << feet << "' "; str << feet << "'-";
} }
// For something like 0.5, show 1/2" rather than 0 1/2" // For something like 0.5, show 1/2" rather than 0 1/2"
if(!(feet == 0 && inches == 0 && numerator != 0)) { if(!(feet == 0 && inches == 0 && numerator != 0)) {