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 112 of file rxmath.cpp.

Constructor & Destructor Documentation

◆ NumericFormatter()

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

Definition at line 115 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 154 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 153 of file rxmath.cpp.

Referenced by format(), and NumericFormatter().


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