API Reference > Other Classes > OdUnitsFormatterTool Class > OdUnitsFormatterTool Methods > OdUnitsFormatterTool::fraction Method
OdUnitsFormatterTool::fraction Method
Syntax
C++
static void fraction(double value, int& entier, int& numerator, int& denominator, int precision);

This is fraction, a member of class OdUnitsFormatterTool.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.