Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > Conversion or Casting MethodsThough Siebel eScript does well in automatic data conversion, there are times when the types of variables or data must be specified and controlled. Each of the following casting methods has one parameter, which is a variable or data item, to be converted to or cast as the data type specified in the name of the method. For example, the following fragment creates two variables: var aString = ToString(123); The first variable, aString, is created as a string from the number 123 converted to or cast as a string. The second variable, aNumber, is created as a number from the string var aNumber = ToNumber(aString); Use the following eScript methods when casting or converting between data types: |
Siebel eScript Language Reference |