silktest: conversion Integer to String(Vice Versa)

Inorder to convert a int or Integer value to String you can use the built-in function in silktest:

Str(intVal) – Over here Str is the built-in function for converting the intVal variable to a string variable.

Vice versa to convert a String to a int or Integer value, you can use Val to do it.
Its usage is as follows:

Val(strObject) – Over here Val is the built-in function for conversion between string to integer values.

Leave a Reply

Your email address will not be published. Required fields are marked *