MCPcopy
hub / github.com/josdejong/mathjs / num

Method num

types/index.d.ts:5971–5971  ·  view source on GitHub ↗

* Get the numerator of a fraction. For a fraction a/b, the function * returns a. For matrices, the function is evaluated element wise.

(
    this: MathJsChain<number | BigNumber | bigint | Fraction>
  )

Source from the content-addressed store, hash-verified

5969 * returns a. For matrices, the function is evaluated element wise.
5970 */
5971 num(
5972 this: MathJsChain<number | BigNumber | bigint | Fraction>
5973 ): MathJsChain<bigint>
5974 num(

Callers 2

num.test.jsFile · 0.65
testTypes.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected