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

Method toNumber

types/index.d.ts:4458–4458  ·  view source on GitHub ↗
(unit?: string)

Source from the content-addressed store, hash-verified

4456 toBest(): Unit
4457 toBest(units?: string[] | Unit[], options?: object): Unit
4458 toNumber(unit?: string): number
4459 toNumeric(unit?: string): number | Fraction | BigNumber
4460 toSI(): Unit
4461 toString(): string

Callers 15

approxEqualFunction · 0.80
sec.test.jsFile · 0.80
sin.test.jsFile · 0.80
cos.test.jsFile · 0.80
csc.test.jsFile · 0.80
tan.test.jsFile · 0.80
cot.test.jsFile · 0.80
corr.test.jsFile · 0.80
mean.test.jsFile · 0.80
std.test.jsFile · 0.80
variance.test.jsFile · 0.80
eigs.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected