forked from mpusz/mp-units
small changes based on code review
This commit is contained in:
committed by
Mateusz Pusz
parent
509b6c9653
commit
0ad78fe753
@@ -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("]");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user