in reply to
Re: log() and int() problem
in thread
log() and int() problem
Idly curious why a loop and "/=" are needed. Not questioning but curious. Example?
Comment on
Re^2: log() and int() problem
Replies are listed 'Best First'.
Re^3: log() and int() problem
by
Anonymous Monk
on Dec 25, 2012 at 23:17 UTC
Add
print "$num\n";
and you can see how the loop works
[reply]
[d/l]
In Section
Seekers of Perl Wisdom