Algorithm::CheckDigits::M11_007(3pm) | User Contributed Perl Documentation | Algorithm::CheckDigits::M11_007(3pm) |
CheckDigits::M11_007 - compute check digits for VAT Registration Number (FI)
use Algorithm::CheckDigits; $ustid = CheckDigits('ustid_fi'); if ($ustid->is_valid('13669598')) { # do something } $cn = $ustid->complete('1366959'); # $cn = '13669598' $cd = $ustid->checkdigit('13669598'); # $cd = '8' $bn = $ustid->basenumber('13669598'); # $bn = '1366959';
Returns false otherwise,
Returns the complete number with check digit or '' if $number does not consist solely of digits.
Return '' otherwise.
Return '' otherwise.
None by default.
Mathias Weidner, "<mamawe@cpan.org>"
perl, CheckDigits, http://www.pruefziffernberechnung.de/U/USt-IdNr.shtml#PZFI (german)
2022-10-13 | perl v5.34.0 |