Skip to the content

Kazu数

Generate checked Sudoku and logic puzzles, read native rules and hints, and draw or embed playable boards.

Kazu is the Japanese word 数 for number. About the name

Contents

Reference · Playable number grid

kazuClockTextfunction

A time taken, as a clock shows it: m:ss, and h:mm:ss past an hour.

Import it

import { kazuClockText } from "@johnmorrisdotca/kazu/play";

Also exported from: @johnmorrisdotca/kazu

Definition

function kazuClockText(ms: number): string

Parameters

NameTypeDescription
msnumber

Elapsed milliseconds to format.

Returns

string

A time taken, as a clock shows it: m:ss, and h:mm:ss past an hour.

Examples

import { kazuClockText } from "@johnmorrisdotca/kazu/play";

console.log(kazuClockText(65000));
1:05

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kazu 2.1.0.