I have an array which looks like this: @array = ('3','4','71','1', '-598', '-100203'); I want to find the index of the smallest whole number. For this case: smallest whole number = 1 index of smallest whole number = 3 Kindly note: I am not looking for the smallest number, but the smallest whole number. Whole numbers includes 0 and all positive numbers only. Any sort of help is highly appreciated. Thank you.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |