You are here: Strings > randomnumbergenerator

randomnumbergenerator

Generates a uniformly distributed random number.

随机数为x,其中最小值<= x <=最大值。

Parameters

使用说明

randomnumbergeneratorgenerates random numbers using the Tclrand()function. The numbers generated by this function may not be considered truly random, becauserand()需要一个初始种子值,确定the sequence of numbers that is generated. There are no more than 2^31 possible random number sequences, and these sequences repeat after 2^31 times. The same seed value, used repeatedly, generates the same numbers. Additionally, the sequence, by design, never produces the same number twice in a row.

编辑变压器参数

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, clickbeside the applicable parameter. For more information, see变压器参数菜单选项.

变压器类别

计算值

Strings

技术历史

相关的FME功能或工厂:@Evaluate,@ TCL2

Search FME Knowledge Center

Search for samples and information about this transformer on theFME Knowledge Center.