Hello
Does the unix korn shell provide a function to convert between number and string data-types
regards
Hrishy
Hello
Does the unix korn shell provide a function to convert between number and string data-types
regards
Hrishy
It doesn't need one. ksh will do arithmetic with string variables that happen to contain numbers. But if you really want to do this, just use a replacement statement:
#! /usr/bin/ksh
integer i
x="123"
i=$x