in reply to Re^2: log() and int() problem
in thread log() and int() problem

Add  print "$num\n"; and you can see how the loop works