Skip to main content
Pentaho Documentation

IFormatProvider

IFormatProvider

The spec.IFormatProvider interface contains formatting information for various atomic value types and formatting modes.

Properties:
Name Default Value Description
number : pentaho.data.spec.INumberFormat

Gets a format information object which describes how to format a numeric value in a general context.

This formatting information can be used for formatting values of atomic type pentaho.data.AtomicTypeName.NUMBER.

percent : pentaho.data.spec.INumberFormat

Gets a format information object which describes how to format a numeric value in a percentage context.

This formatting information can be used for formatting values of atomic type pentaho.data.AtomicTypeName.NUMBER.

Source: doc-js/pentaho/data/spec/IFormatProvider.jsdoc, line 17