Hi,
I would like to install a module allowing to place the number of click on the links in this way:100.000
I tested with this option but this one gives me: 100000
Ci below the global.
sub {
my $total = shift;
my ($total) = $DB->table('Links')->select(['SUM(Hits)'])->fetchrow_array; return 0 unless defined $total;
1 while s/^([-+]?\d+)(\d{3})/$1.$2/;
return $total;
}
I would like to install a module allowing to place the number of click on the links in this way:100.000
I tested with this option but this one gives me: 100000
Ci below the global.
sub {
my $total = shift;
my ($total) = $DB->table('Links')->select(['SUM(Hits)'])->fetchrow_array; return 0 unless defined $total;
1 while s/^([-+]?\d+)(\d{3})/$1.$2/;
return $total;
}