Algorithm::CheckDigits::M11_008(3pm) | User Contributed Perl Documentation | Algorithm::CheckDigits::M11_008(3pm) |
CheckDigits::M11_008 - compute check digits for VAT Registration Number (DK)
use Algorithm::CheckDigits; $ustid = CheckDigits('ustid_dk'); if ($ustid->is_valid('13585628')) { # do something } $cn = $ustid->complete('1358562'); # $cn = '13585628' $cd = $ustid->checkdigit('13585628'); # $cd = '8' $bn = $ustid->basenumber('13585628'); # $bn = '1358562';
Returns false otherwise,
Return '' otherwise.
Return '' otherwise.
Return undef otherwise.
None by default.
Mathias Weidner, "<mamawe@cpan.org>"
perl, CheckDigits, www.pruefziffernberechnung.de,
2022-10-13 | perl v5.34.0 |