API Reference > Other Classes > OdUnitsFormatter Class > OdUnitsFormatter Methods > OdUnitsFormatter::formatA Method
OdUnitsFormatter::formatA Method
Syntax
C++
static OdString formatA(double value, AUnits aUnits, int precision, int dimzin, int unitMode, const OdChar* decsep = 0);
Parameters 
Description 
double value 
[in] Value to format.  
AUnits aUnits 
[in] Angle units.  
int precision 
[in] Number of decimal places.  
int dimzin 
[in] A combination of ZeroSuppressionFlags.  
int unitMode 
[in] UNITMODE value.  
const OdChar* decsep = 0 
[in] Decimal separator. 

Returns the specified angular value as a string.

  • A zero value for decsep specifies the default separator is to be used.
 

All angles are expressed as radians.

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