Skip to main content

Conversion

25
  • bigdec

    Coerce to BigDecimal

  • bigint

    Coerce to BigInt

  • biginteger

    Coerce to BigInteger

  • boolean

    Coerce to boolean

  • boolean

    Generates one of `true` or `false`. Shrinks to `false`.

  • byte

    Coerce to byte

  • byte

    Generates `java.lang.Byte`s, using the full byte-range.

  • denominator

    Returns the denominator part of a Ratio.

  • double

    Coerce to double

  • double

    Generates 64-bit floating point numbers from the entire range, including +/- infinity and NaN. Use double* for more co...

  • float

    Coerce to float

  • int

    Coerce to int

  • int

    Deprecated - use gen/small-integer instead. Generates a positive or negative integer bounded by the generator's `si...

  • long

    Coerce to long

  • num

    Coerce to Number

  • numerator

    Returns the numerator part of a Ratio.

  • rationalize

    returns the rational value of num

  • short

    Coerce to short

  • unchecked-byte

    Coerce to byte. Subject to rounding or truncation.

  • unchecked-char

    Coerce to char. Subject to rounding or truncation.

  • unchecked-double

    Coerce to double. Subject to rounding.

  • unchecked-float

    Coerce to float. Subject to rounding.

  • unchecked-int

    Coerce to int. Subject to rounding or truncation.

  • unchecked-long

    Coerce to long. Subject to rounding or truncation.

  • unchecked-short

    Coerce to short. Subject to rounding or truncation.