Designing and Implementing Business Process Models 10.4 | Designing and Implementing Business Process Models | Business Rules Reference | Functions | Summary of Conversion Functions
 
Summary of Conversion Functions
 
toBoolean()
toDate()
toDate()
toDate(String dateFormat)
toDouble()
toDouble()
toLong()
toLong()
toString()
toString()
toString()
toString()
toString(String dateFormat)
webMethods Rules Development provides predefined conversion functions as listed in the following table:
Function
Returns
Description
Boolean
Returns a boolean with a value represented by this string.
Date
Returns a date that this string represents.
Date Object
Allocates a date object for this long value.
Date
Returns a date that represents this string based on the specified format.
Double
Returns a double value holding the value of this string.
Double
Returns a double value represented by this long value.
Long
Returns a long value holding the value of this string.
Long
Returns a long value represented by this double value.
String
Returns a string representing the value of this long value.
String
Returns a string representing the value of this double value.
String Object
Returns a string object representing the value of this boolean.
String
Returns a string representing the value of this date.
String
Returns a string representing the value of this date in the specified format.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release