In-game tools · function

formatMs

— for unmeasured. Two decimals, because a pass under a hundredth is not the one to look at.

Explained in In-game tools.

function formatMs(ms: number | null): string
import { formatMs } from '@driftengine/tools';

Parameters

ParameterTypeDescription
msnumber | null