Help for this page
#!/usr/bin/perl use strict; use warnings; ... $number =~ s/(\.\d*?)0*$/$1/ } print join "\n", @numbers;