hash()

Read(204) Label: hash value, positive integer,

Description:

Return a hash value.

Syntax:

hash(xi,…;n)

Note:

The function calculates the hash value(s) over data items xi,and returns a positive integer less than parameter n.

Parameters:

xi

Data of any type

n

An integer greater than 1

Return value:

A positive integer

Example:

=hash(0.2;38)

7

=hash(2,52,94;100)

28

=hash("abc";10477)

2068