$two_decimal_number = sprintf "%0.2f", $x;