Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/apache/echarts
/ quantity
Function
quantity
src/util/number.ts:569–571 ·
view source on GitHub ↗
(val: number)
Source
from the content-addressed store, hash-verified
567
* @
return
568
*/
569
export
function
quantity(val: number): number {
570
return
mathPow(10, quantityExponent(val));
571
}
572
573
/**
574
* Exponent of the quantity of a number
Callers
3
number.test.ts
File · 0.90
logScaleCalcNiceTicks
Function · 0.90
scaleCalcAlign
Function · 0.90
Calls
1
quantityExponent
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…