API Reference > OdDbRoot Classes > OdDbBaseUnitsFormatter Class > OdDbBaseUnitsFormatter Methods > OdDbBaseUnitsFormatter::formatLinear Method
OdDbBaseUnitsFormatter::formatLinear Method
Syntax
C++
virtual OdString formatLinear(double value) const;
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.