API Reference > Other Classes > OdUnitsFormatter Class > OdUnitsFormatter Methods > OdUnitsFormatter::formatLinear Method
OdUnitsFormatter::formatLinear Method
Syntax
C++
virtual OdString formatLinear(double value) const = 0;
Parameters 
Description 
double value 
[in] Value to format. 

Returns the specified distance value as a string.

The returned value depends on the DIMZIN, LUNITS, LUPREC, and UNITMODE system variables.

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