Type Coercion
toString
Description: Coerces the Subject into a String
Subject Type: Any type
Arguments: No arguments
Return Type: String
Examples: The Expression ${fileSize:toNumber():toString()}
converts the value of "fileSize" attribute to a number and back to a String.
toNumber
Description: Coerces the Subject into a Number
Subject Type: String, Decimal, or Date
Arguments: No arguments
Return Type: Number
Examples: The Expression ${fileSize:toNumber()}
converts the
attribute value of "fileSize" to a number.
toDecimal
Description: Coerces the Subject into a Decimal
Subject Type: String, Whole Number or Date
Arguments: No arguments
Return Type: Decimal
Examples: The Expression ${fileSize:toDecimal()}
converts the
attribute value of "fileSize" to a decimal.