resource-calculator

a basic calculator

calculator

a basic calculator

properties

methods

a basic calculator

  • id

    • type : any

returns the sum of two numbers

  • options

    • type : object

    • properties

      • a

        • type : number
      • b

        • type : number
  • callback

    • type : function

    • required : false

returns the difference of two numbers

  • options

    • type : object

    • properties

      • a

        • type : number
      • b

        • type : number
  • callback

    • type : function

    • required : false

returns the product of two numbers

  • options

    • type : object

    • properties

      • a

        • type : number
      • b

        • type : number
  • callback

    • type : function

    • required : false

returns the result by dividing two numbers

  • options

    • type : object

    • properties

      • a

        • type : number
      • b

        • type : number
  • callback

    • type : function

    • required : false

returns the raised power of two numbers

  • options

    • type : object

    • properties

      • a

        • type : number
      • b

        • type : number
  • callback

    • type : function

    • required : false

returns the squareoot of number

  • options

    • type : object

    • properties

      • a

        • type : number
  • callback

    • type : function

    • required : false

returns the cuberoot of number

  • options

    • type : object

    • properties

      • a

        • type : number
  • callback

    • type : function

    • required : false

returns the nthroot of number

  • options

    • type : object

    • properties

      • a

        • type : number
      • b

        • type : number
  • callback

    • type : function

    • required : false

returns the factorial of number

  • options

    • type : object

    • properties

      • a

        • type : number
  • callback

    • type : function

    • required : false

returns the result of number as even

  • options

    • type : object

    • properties

      • a

        • type : number
  • callback

    • type : function

    • required : false

returns the result of number as odd

  • options

    • type : object

    • properties

      • a

        • type : number
  • callback

    • type : function

    • required : false

README auto-generated with docs