Search Results

Search: Posts Made By: Perderabo
5,114
Posted By Perderabo
In ksh you can do: x=123.45 echo ${#x} is the...
In ksh you can do:
x=123.45
echo ${#x} is the length of x
echo ${x%.*} is the integer portion of x
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy