Skip to content

@k8slens/extensions

Globals / "src/renderer/utils/convertCpu"

Module: "src/renderer/utils/convertCpu"#

Index#

Variables#

Functions#

Variables#

million#

Const million: number = thousand * thousand

Defined in src/renderer/utils/convertCpu.ts:4


shortBillion#

Const shortBillion: number = thousand * million

Defined in src/renderer/utils/convertCpu.ts:5


thousand#

Const thousand: 1000 = 1000

Defined in src/renderer/utils/convertCpu.ts:3

Functions#

cpuUnitsToNumber#

cpuUnitsToNumber(cpu: string): number

Defined in src/renderer/utils/convertCpu.ts:7

Parameters:

Name Type
cpu string

Returns: number


Last update: November 10, 2020