Search Results

Search: Posts Made By: shivakundan
2,176
Posted By shivakundan
typeset -LZ amt also removes leading zero's
typeset -LZ amt also removes leading zero's
2,176
Posted By shivakundan
adding 0 to a variable
Can anybody plz help me to solve this puzzle?

amt=00002280674231
((amt = amt + 0)) # to remove leading zero's

echo $amt

prints -2014293065

but this works fine for numbers less than...
Showing results 1 to 2 of 2

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