Data Type Conversions - Designer - Foundation 24.2 - Foundation 24.2 - Ready - Hyland RPA - external - Hyland-RPA/Designer/Foundation-24.2/Hyland-RPA-Designer/Visual-Basic-Text-Expressions/Data-Type-Conversions - 2025-04-03

Hyland RPA Designer

Platform
Hyland RPA
Product
Designer
Release
Foundation 24.2
License

This topic provides code samples of how to convert one data type to another data type.

  • Convert Object to String

    myString = myObject.ToString() 
  • Convert String to Integer

    myInteger = Int32.Parse(myString)
  • Convert String to Integer and return Boolean

    myBoolean = Int32.TryParse(myString, myInteger) 
  • Convert various types to Integer

    myInteger = CInt(myObject) 
  • Cut off fractional values and convert Double to Integer

    myInteger = CInt(Math.Truncate(myDouble))