<number>
Format number
Format the number string in the tag
var(optional) Set the variable to format the number
setScope(optional) Set the scope of the variable Property context:Set variable to context(default) session:Set variable to session
pattern(optional) Format pattern Symbol describe 0 Represents a digit E Represents in exponential form # Represents a digit; displays 0 as absent . Serves as a placeholder for a decimal separator , Serves as a placeholder for a grouping separator ; Separates formats - Used as the default negative prefix % Multiplies by 100 and displays as a percentage ? Multiplies by 1000 and displays as per mille ¤ Represents the currency sign; replaced by actional currency symbol X Indicates that any other characters can be used in the prefix or suffix ' Used to quote special characters in a prefix or suffix
type(optional) Number type Property number:number type(default) currency:currency type percent:percent type
groupingUsed(optional) Whether to group number Property true:yes false:no(default)
currencyCode(optional) ISO 4217 currency code, default is the local currency code (e.g. US dollar is USD, China Yuan renminbi is CNY), when type= "currency" is available
currencySymbol(optional) currency symbol, default is the local currency symbol (e.g. US dollar is $, China Yuan renminbi is ¥), when type= "currency" is available
locale(optional) Country, default is the local country (e.g. America is en_US, China is zh_CN)
integerOnly(optional) Sets whether or not numbers should be parsed as integers only Property true:yes false:no(default)
maxIntegerDigits(optional) Sets the maximum number of digits allowed in the integer portion of a number
minIntegerDigits(optional) Sets the minimum number of digits allowed in the integer portion of a number
maxFractionDigits(optional) Sets the maximum number of digits allowed in the fraction portion of a number
minFractionDigits(optional) Sets the minimum number of digits allowed in the fraction portion of a number