You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,8 @@ The tag follows this format: `[operation][direction][start:end][currency]`
28
28
* Use a colon-separated format (e.g., `1:3` for the first three cells). The indices are 1-based.
29
29
* You can also just specify a start (e.g., `2`).
30
30
***`[currency]`** (Optional): A 2-4 letter currency code (e.g., `USD`, `EUR`, `GBP`). If provided, the result will be formatted with the specified currency symbol.
31
+
***`[format]`** (Optional): Format options for input and output.
32
+
* #e[n] Only accepts inputs written in scientific notations, and outputs results in scientific notation with n fraction digits.
31
33
32
34
## Examples
33
35
@@ -63,6 +65,20 @@ The tag follows this format: `[operation][direction][start:end][currency]`
63
65
| **TOTAL:** | | | SUM^2:4USD |
64
66
```
65
67
68
+
**Scientific notation example:**
69
+
70
+
Note: when using #e[n] format the input values must be in scientific notation and cannot include currency units.
71
+
```
72
+
| Correct | Incorrect |
73
+
| ------: | --------: |
74
+
| 1000 | 1,000 |
75
+
| -1.0 | -1,0 |
76
+
| 2.0e1 | $20 |
77
+
| 0.1 | 0,1 |
78
+
| 1E-1 | 10 % |
79
+
| SUM^#e4 | SUM^#e4 |
80
+
```
81
+
The correct column will ouput 1.0192e+3 while the incorrect column will output 0.0000e+0.
66
82
## Key Features
67
83
68
84
***Real-time Updates:** Calculations are performed automatically as you type and edit your tables.
0 commit comments