# FractionalDigit

Industry: Core

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.

```ts
import type { FractionalDigit } from "@northguild/gmt";
```

## Definition

```ts
type FractionalDigit = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | "auto";
```

## Used by

- [`endOfDateTime`](/gmt/reference/plain/calculate/endOfDateTime/)
- [`endOfQuarterForZoned`](/gmt/reference/zoned/calculate/endOfQuarterForZoned/)
- [`endOfTime`](/gmt/reference/plain/calculate/endOfTime/)
- [`endOfUtc`](/gmt/reference/utc/calculate/endOfUtc/)
- [`endOfZoned`](/gmt/reference/zoned/calculate/endOfZoned/)
- [`formatCcsdsAsciiA`](/gmt/reference/timescale/format/formatCcsdsAsciiA/)
- [`formatCcsdsAsciiB`](/gmt/reference/timescale/format/formatCcsdsAsciiB/)
- [`getLocaleZonedEndOfWeek`](/gmt/reference/zoned/calculate/getLocaleZonedEndOfWeek/)
- [`getLocaleZonedStartOfWeek`](/gmt/reference/zoned/calculate/getLocaleZonedStartOfWeek/)
- [`roundUtc`](/gmt/reference/utc/calculate/roundUtc/)
- [`startOfDateTime`](/gmt/reference/plain/calculate/startOfDateTime/)
- [`startOfQuarterForZoned`](/gmt/reference/zoned/calculate/startOfQuarterForZoned/)
- [`startOfTime`](/gmt/reference/plain/calculate/startOfTime/)
- [`startOfUtc`](/gmt/reference/utc/calculate/startOfUtc/)
- [`startOfZoned`](/gmt/reference/zoned/calculate/startOfZoned/)

## Source

[types/fractional-digit.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/types/fractional-digit.ts)
