Validate a Swiss social security number
The Swiss social security numbers follow a very strict format. A check digit is the last one, computed the standard _get_control_number function.
Parameters:
bool studentid(
string
$umn)
|
|
Validate a Swiss university's immatriculation number
Swiss immatriculation numbers are used by all universities in Switzerland. They are used in two primary formats: Official is a readable one with dashes, but commonly only the eight digits are just concatenated.
As for check digit, a somewhat "weird" algorithm is used, in which not a sum of products, but the sum of the digits of products are taken.
Parameters: