go ahead... be a heretic | |
PerlMonks |
Re: Clean log_10 ?by haj (Vicar) |
on Nov 28, 2019 at 19:10 UTC ( [id://11109386]=note: print w/replies, xml ) | Need Help?? |
SCNR:
sub log10 { 0 + (sprintf("%e", shift) =~ /e([+-]?\d+)/)[0] }
In Section
Seekers of Perl Wisdom
|
|