Overview

Helper for a formatted number.

Package

This class is part of the Solar_View_Helper package.

Inheritance:

Configuration Keys

  • dec_point: Designates the character used for decimal points. Default is the locale string for FORMAT_DEC_POINT.

  • thousands_sep: Designates the character used to separate thousands. Default is the locale string for FORMAT_THOUSANDS_SEP.

Constants

None.

Public Properties

The Solar_View_Helper_Number class has no public properties; try the list of all properties.

Public Methods

These are all the public methods in the Solar_View_Helper_Number class.

You can also view the list of all public, protected, and private methods.

__construct()

Constructor.

__destruct()

Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().

dump()

Convenience method for getting a dump the whole object, or one of its properties, or an external variable.

locale()

Looks up class-specific locale strings based on a key.

number()

Returns a numeric value formatted with » number_format().



Local