Options
All
  • Public
  • Public/Protected
  • All
Menu
Logo of bit by bit developers

Class MathBitByBit

Hierarchy

  • MathBitByBit

Index

Constructors

constructor

Methods

modulus

  • Does modulus operation

    group

    operations

    shortname

    modulus

    drawable

    false

    Parameters

    Returns number

    Result of modulus operation

number

  • Creates a number

    group

    create

    shortname

    number

    drawable

    false

    Parameters

    Returns number

    number

oneNrOperation

  • Does basic math operations on one number

    group

    operations

    shortname

    one number

    drawable

    false

    Parameters

    Returns number

    Result of math operation

pi

  • pi(): number
  • Creates a PI number

    group

    generate

    shortname

    π

    drawable

    false

    Returns number

    A number PI

random

  • random(): number
  • Creates a random number between 0 and 1

    group

    generate

    shortname

    random 0 - 1

    drawable

    false

    Returns number

    A random number between 0 and 1

randomNumber

  • Creates a random number between low and high value

    group

    generate

    shortname

    random number

    drawable

    false

    Parameters

    Returns number

    A random number

randomNumbers

  • Creates random numbers between low and high values

    group

    generate

    shortname

    random numbers

    drawable

    false

    Parameters

    Returns number[]

    A list of random numbers

remap

  • Remaps a number from one range to another

    group

    operations

    shortname

    remap

    drawable

    false

    Parameters

    Returns number

    Result of mapping

roundToDecimals

  • Does rounding to decimals

    group

    operations

    shortname

    round to decimals

    drawable

    false

    Parameters

    Returns number

    Result of rounding

twoNrOperation

  • Does basic math operations

    group

    operations

    shortname

    two numbers

    drawable

    false

    Parameters

    Returns number

    Result of math operation action

Generated using TypeDoc