Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next

...

  • Range is inclusive of the two parameter values.
  • The first parameter must be the lower value in the range.

D s
snippetBasic

RANDBETWEEN
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
randbetween(1,10) as:'r10'

randbetween(1,10)

Output:

...

Generates a random Integer value between 1 and 10

...

.

D s
snippetSyntax

d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value: RANDBETWEEN(value1,value2) as:'random'

RANDBETWEEN(value1,value2)


ArgumentRequired?Data TypeDescription
value1YInteger or DecimalInteger or Decimal literal, function returning one of these data types, or a column reference for the lower boundary of the range. Range is inclusive of this value.
value2YInteger or DecimalInteger or Decimal literal, function returning one of these data types, or a column reference for the upper boundary of the range. Range is inclusive of this value.

...