@linzjs/step-ag-grid 7.10.1 → 7.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@linzjs/step-ag-grid",
3
3
  "repository": "github:linz/step-ag-grid.git",
4
4
  "license": "MIT",
5
- "version": "7.10.1",
5
+ "version": "7.10.2",
6
6
  "keywords": [
7
7
  "aggrid",
8
8
  "ag-grid",
@@ -89,6 +89,7 @@ const GridReadOnlyTemplate: ComponentStory<typeof Grid> = (props: GridProps) =>
89
89
  { id: 1002, bearing: null, bearingCorrection: 355.1 },
90
90
  { id: 1003, bearing: null, bearingCorrection: 0 },
91
91
  { id: 1004, bearing: 5.0, bearingCorrection: "1.00500" },
92
+ { id: 1005, bearing: null, bearingCorrection: "0E-12" },
92
93
  ] as ITestRow[]);
93
94
 
94
95
  return (
@@ -14,9 +14,9 @@ export const bearingCorrectionValueFormatter = (params: ValueFormatterParams): s
14
14
  return "–";
15
15
  }
16
16
  if (typeof value === "string") {
17
- return convertDDToDMS(bearingNumberParser(value), true, false);
17
+ return convertDDToDMS(bearingNumberParser(value), true, true);
18
18
  }
19
- return convertDDToDMS(value, true, false);
19
+ return convertDDToDMS(value, true, true);
20
20
  };
21
21
 
22
22
  export const bearingNumberParser = (value: string): number | null => {