Mar 23, 2001 #1 mackiew Programmer Sep 15, 2000 18 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 Dec 18, 2000 5,133 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.