webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WTF::FormattedNumber Class Reference

#include <StringConcatenateNumbers.h>

Public Member Functions

unsigned length () const
 
const LChar * buffer () const
 
unsigned length () const
 
const LChar * buffer () const
 
unsigned length () const
 
const LChar * buffer () const
 

Static Public Member Functions

static FormattedNumber fixedPrecision (double number, unsigned significantFigures=6, bool truncateTrailingZeros=false)
 
static FormattedNumber fixedWidth (double number, unsigned decimalPlaces)
 
static FormattedNumber fixedPrecision (double number, unsigned significantFigures=6, bool truncateTrailingZeros=false)
 
static FormattedNumber fixedWidth (double number, unsigned decimalPlaces)
 
static FormattedNumber fixedPrecision (double number, unsigned significantFigures=6, bool truncateTrailingZeros=false)
 
static FormattedNumber fixedWidth (double number, unsigned decimalPlaces)
 

Member Function Documentation

◆ buffer() [1/3]

const LChar* WTF::FormattedNumber::buffer ( ) const
inline

◆ buffer() [2/3]

const LChar* WTF::FormattedNumber::buffer ( ) const
inline

◆ buffer() [3/3]

const LChar* WTF::FormattedNumber::buffer ( ) const
inline

◆ fixedPrecision() [1/3]

static FormattedNumber WTF::FormattedNumber::fixedPrecision ( double  number,
unsigned  significantFigures = 6,
bool  truncateTrailingZeros = false 
)
inlinestatic

◆ fixedPrecision() [2/3]

static FormattedNumber WTF::FormattedNumber::fixedPrecision ( double  number,
unsigned  significantFigures = 6,
bool  truncateTrailingZeros = false 
)
inlinestatic

◆ fixedPrecision() [3/3]

static FormattedNumber WTF::FormattedNumber::fixedPrecision ( double  number,
unsigned  significantFigures = 6,
bool  truncateTrailingZeros = false 
)
inlinestatic

◆ fixedWidth() [1/3]

static FormattedNumber WTF::FormattedNumber::fixedWidth ( double  number,
unsigned  decimalPlaces 
)
inlinestatic

◆ fixedWidth() [2/3]

static FormattedNumber WTF::FormattedNumber::fixedWidth ( double  number,
unsigned  decimalPlaces 
)
inlinestatic

◆ fixedWidth() [3/3]

static FormattedNumber WTF::FormattedNumber::fixedWidth ( double  number,
unsigned  decimalPlaces 
)
inlinestatic

◆ length() [1/3]

unsigned WTF::FormattedNumber::length ( void  ) const
inline

◆ length() [2/3]

unsigned WTF::FormattedNumber::length ( ) const
inline

◆ length() [3/3]

unsigned WTF::FormattedNumber::length ( void  ) const
inline

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