small changes based on code review

This commit is contained in:
Oliver Schönrock
2019-12-28 17:59:47 +01:00
committed by Mateusz Pusz
parent 509b6c9653
commit 0ad78fe753
4 changed files with 32 additions and 31 deletions
+2 -2
View File
@@ -35,12 +35,12 @@ constexpr auto ratio_text()
return txt + basic_fixed_string("]");
}
else if constexpr (Ratio::den == 1) {
return txt + basic_fixed_string(" x 10") + superscript<Ratio::exp>() +
return txt + basic_fixed_string(" \u00D7 10") + superscript<Ratio::exp>() +
basic_fixed_string("]");
}
else {
return txt + basic_fixed_string("/") + regular<Ratio::den>() +
basic_fixed_string(" x 10") + superscript<Ratio::exp>() +
basic_fixed_string(" \u00D7 10") + superscript<Ratio::exp>() +
basic_fixed_string("]");
}
}