The NumberFormat object is a formatting template used to define formatting options for certain numeric output.
import visualization session.defaultFieldReportOptions.numberFormat session.fieldReportOptions.numberFormat session.journalOptions.defaultFormat session.journalOptions.fieldReportFormat session.journalOptions.geometryFormat
This method creates a NumberFormat object.
session.defaultFieldReportOptions.NumberFormat session.fieldReportOptions.NumberFormat session.journalOptions.NumberFormat
Required arguments
Optional arguments
A Boolean specifying whether the printed digits should be padded with blank characters to ensure equal sized fields. The blankPad argument is useful when your printed output includes columns. The default value is ON.
A SymbolicConstant specifying the formatting type. Possible values are ENGINEERING, SCIENTIFIC, and AUTOMATIC. The default value is ENGINEERING.
An Int specifying the number of digits to be displayed in the result. numDigits . The default value is 6.
An Int specifying the number of decimal places to which the number is to be truncated for display. precision . If precision =0, no truncation is applied. The default value is 0.
Return value
A NumberFormat object.
Exceptions
The NumberFormat object has members with the same names and descriptions as the arguments to the NumberFormat method.