1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Project: grippo
// File: src/parse/number.rs
// Purpose: A numeric field's text as a typed number
// Language: Rust
//
// License: Apache-2.0
// Copyright: (c) 2026 HYPERI PTY LIMITED
//! A numeric field's text as a typed number.
//!
//! Parsers keep a number as the text the record held and hint it `Int` or
//! `Float`. [`FieldValue::number`] reads that text with the
//! [`NumberReading::Exact`](crate::number::NumberReading::Exact) rules under
//! the hint, so every sink that stores typed columns reads `07`, `-0` and a
//! 20-digit integer the same way.
use ;
use crate;