Mar 23, 2001 #1 mackiew Programmer Joined Sep 15, 2000 Messages 18 Location UY Hi Exists or how I do an function that : my $number = 23.23412347 round($number , 2 ) = 23.23 ??? Thanks !
Hi Exists or how I do an function that : my $number = 23.23412347 round($number , 2 ) = 23.23 ??? Thanks !
Mar 23, 2001 #2 tsdragon Programmer Joined Dec 18, 2000 Messages 5,133 Location US Code: sprintf("%1.2f", $number); Meddle not in the affairs of dragons, For you are crunchy, and good with mustard. Upvote 0 Downvote
Code: sprintf("%1.2f", $number); Meddle not in the affairs of dragons, For you are crunchy, and good with mustard.