Commit abf7f24
Fix DecimalConverter to support scientific notation
- Changed NumberStyles from Number to Float | AllowThousands
- This enables parsing of scientific notation values (e.g., 1.2345678E5)
- Aligns DecimalConverter with SingleConverter and DoubleConverter behavior
- Added comprehensive tests for scientific notation parsing
Fixes #35
Co-authored-by: Chrissy LeMaire <[email protected]>1 parent af724b2 commit abf7f24
File tree
2 files changed
+22
-2
lines changed- project
- dbatools.Tests/Csv
- dbatools/Csv/TypeConverters
2 files changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
164 | 184 | | |
165 | 185 | | |
166 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
0 commit comments