Syntax | set aString = anInteger.printIntegerExpression(aFormat, aLocale?) | |
---|---|---|
Semantics | printIntegerExpression() initializes a String object from an Integer using the given format expression. The format expression is a string with placeholders for number variables. The syntax is described in Number Formatting. | |
Substitutables | anInteger | Can be any variable or object attribute having the type Integer. |
aFormat | Can be any variable or object attribute having the type String. The pattern syntax is described in Number Formatting. | |
aLocale | Optional variable or object attribute having the type Basic Components::Basic Behavior::NumbersLocale. This parameter can be used to define the following properties:
The other attributes of the NumbersLocale class are not relevant for integers. Default values are given by the system locales. | |
Examples | set aString = anInteger.printIntegerExpression("999MI"); Formatting examples can be found in Number Formatting. |
Overview
Content Tools