mlreportgen.dom.Number class
Package: mlreportgen.dom
Description
Use an object of the mlreportgen.dom.Number
class to convert a number to
formatted text that you can include in a document.
The conversion uses the first of these format specifications that it finds:
The specification in an
mlreportgen.dom.NumberFormat
object in theStyle
property of theNumber
objectThe specification in a
NumberFormat
object in theStyle
property of an element, such as a paragraph, list, or table, that contains theNumber
objectThe default specification set by
mlreportgen.dom.setDefaultNumberFormat
If the conversion does not find a format specification, the conversion uses the maximum number of digits needed to represent the number accurately.
The mlreportgen.dom.Number
class is a handle
class.
Class Attributes
ConstructOnLoad | true |
HandleCompatible | true |
For information on class attributes, see Class Attributes.
Creation
Properties
Methods
Examples
Version History
Introduced in R2021a