Bitbybit Docs
    Preparing search index...

    Class RandomNumberDto (Inputs.Math)

    math.randomNumber 从中取值的范围;low 可以被取到,high 永远不会被完全达到。

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionallow: number
      • Optionalhigh: number

      Returns RandomNumberDto

    Properties

    low: number

    可以被取到的最小值。

    0
    

    -Infinity

    Infinity

    0.1

    high: number

    范围的顶端;取值会接近它但永远不会达到它。

    1
    

    -Infinity

    Infinity

    0.1