PRODOK Engineering


12 February 2007

One-Liner of the week: Randomly random

by Max Wyss
filed under:

Quite regularly, there is a question on the mailing lists about random numbers, mainly for a unique identifier for a document.

Such random numbers are indeed not a big problem to implement, because JavaScript has the Math Object (because it is part of the Core, it is not described in the Acrobat JavaScript documentation), which contains the Math.random() method.


Syndicate content