in reply to decimal point

If you want to do anything with the numbers besides print them right to the screen, you can use sprintf like so:
$two_decimal_number = sprintf "%0.2f", $x;
then the variable $two_decimal_number will contain the number in the format you're looking for. You can then print it or manipulate it or whatever.