Skip to content

FractionalDigit

  • The core functions, which every industry uses.

How many fractional-second digits an ISO string is written with, as Temporal’s fractionalSecondDigits option of toString(). 0 to 9 writes exactly that many digits, and "auto" writes as many as the value needs, with no trailing zeros.

import type { FractionalDigit } from "@northguild/gmt";
type FractionalDigit = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | "auto";

types/fractional-digit.ts

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.