There's more than one way to do things | |
PerlMonks |
Re^2: sub as mathematical functionby Anonymous Monk |
on Sep 04, 2019 at 12:29 UTC ( [id://11105582]=note: print w/replies, xml ) | Need Help?? |
min(int(9*$x),8) is perfect thanks all :-)
In Section
Seekers of Perl Wisdom
|
|