[Base]retrieve unit text
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
This commit is contained in:
committed by
Chris Hennes
parent
a431ccc156
commit
c9fffa6789
@@ -66,6 +66,11 @@ std::string UnitsApi::getBasicLengthUnit()
|
||||
return schemas->currentSchema()->getBasicLengthUnit();
|
||||
}
|
||||
|
||||
std::string UnitsApi::getUnitText(const Quantity& quant)
|
||||
{
|
||||
return schemas->currentSchema()->getUnitText(quant);
|
||||
}
|
||||
|
||||
void UnitsApi::setDecimals(const int prec)
|
||||
{
|
||||
decimals = prec;
|
||||
|
||||
Reference in New Issue
Block a user