Variable
Static Public Summary | ||
public |
Formats microseconds into strings that look like: 1 day 3 hours 7 minutes 28 seconds 500 milliseconds 324 microseconds |
|
public |
Formats microseconds into strings that look like: 1 d 3 h 7 m 28 s 500 ms 324 µs |
|
public |
Same as <span><a href="variable/index.html#static-variable-formatmicro">formatmicro</a></span>, except it only returns the first two non-zero values. |
Static Public
public bignames(timeMicro: number, incrementNames: object | function | undefined): string: * source
import {bignames} from 'formatmicro/src/index.js'
Formats microseconds into strings that look like: 1 day 3 hours 7 minutes 28 seconds 500 milliseconds 324 microseconds
Throw:
If either argument isn't the correct type |
public formatmicro(timeMicro: number, incrementNames: object | function | undefined): string: * source
import {formatmicro} from 'formatmicro/src/index.js'
Formats microseconds into strings that look like: 1 d 3 h 7 m 28 s 500 ms 324 µs
Throw:
If either argument isn't the correct type |
public onlytwo(timeMicro: number, incrementNames: object | function | undefined): string: * source
import {onlytwo} from 'formatmicro/src/index.js'
Same as <span><a href="variable/index.html#static-variable-formatmicro">formatmicro</a></span>, except it only returns the first two non-zero values.
Throw:
If either argument isn't the correct type |