NumericFormatter Class Reference
Inheritance diagram for NumericFormatter:
[legend]

Public Member Functions

 NumericFormatter (RexxCallContext *c, bool explicitPrecision, uint32_t p)
 
RexxObjectPtr format (double x)
 

Protected Attributes

uint32_t precision
 
RexxCallContextcontext
 
bool optionError
 

Detailed Description

Definition at line 131 of file rxmath.cpp.

Constructor & Destructor Documentation

◆ NumericFormatter()

NumericFormatter::NumericFormatter ( RexxCallContext c,
bool  explicitPrecision,
uint32_t  p 
)
inline

Definition at line 134 of file rxmath.cpp.

References context, MAX_PRECISION, optionError, and precision.

Member Function Documentation

◆ format()

RexxObjectPtr NumericFormatter::format ( double  x)
inline

Member Data Documentation

◆ context

RexxCallContext* NumericFormatter::context
protected

Definition at line 173 of file rxmath.cpp.

Referenced by format(), NumericFormatter(), and TrigFormatter::TrigFormatter().

◆ optionError

bool NumericFormatter::optionError
protected

◆ precision

uint32_t NumericFormatter::precision
protected

Definition at line 172 of file rxmath.cpp.

Referenced by format(), and NumericFormatter().


The documentation for this class was generated from the following file: