Nicolás Hatcher
1b7389fd23
FIX: Make Clippy happy
...
Automatic fixes
2025-01-19 14:31:58 +01:00
Nicolás Hatcher
cbda30f951
FIX: Use 1 as the first serial number corresponding to 1899-12-31
2025-01-01 11:53:05 +01:00
Nicolás Hatcher
c6adf8449b
FIX: Dates are only valid up to the last day of 9999
2024-12-30 14:15:09 +01:00
Shalom Yiblet
7c32088480
feat: update date
2024-12-30 13:12:33 +01:00
Nicolás Hatcher
6326c44941
FIX: TRUE and FALSE can also be functions
...
Previously the engine was internally transforming TRUE() to TRUE
Note that the friendly giant implements this only for
compatibility reasons
2024-12-29 19:17:54 +01:00
Nicolás Hatcher
dc3bf8826b
FIX: PV Return #DIV/0! instead of #NUM! if rate = -1
2024-12-27 20:19:32 +01:00
Gian Hancock
655d663590
FIX: Make XOR, OR, AND functions more consistent with Excel
...
The way these functions interpret their arguments is inconsistent with
Excel in a few ways:
- EmptyCell: Excel ignores arguments evaluating to these types of
values, treating them as if they didn't exist.
- Text: Text cells are ignored unless they are "TRUE" or "FALSE" (case
insensitive). EXCEPT if the string value comes from a reference, in
which case it is always ignored regardless of its value.
- Error if no args: Excel returns a #VALUE! error for these functions if
no arguments are provided, or if all arguments are ignored (see
above).
- EmptyArg: Bizarrely, Unlike EmptyCell, EmptyArg is not ignored and is
treated as if it were FALSE by Excel.
- ErrorPropagation: Excel propagates errors in the arguments and in
cells belonging to any Range arguments.
Additionally, these functions are not consistent with each other, XOR,
OR, AND vary in how they handle the cases mentioned above.
Rectify these consistency issues by re-implementing them all in terms of
a single base function which is more consistent with Excel behavior.
2024-12-26 15:06:54 +01:00
Nicolás Hatcher
e455ed14ea
UPDATE: API for defined names
2024-12-26 10:21:21 +01:00
Nicolás Hatcher
23814ec18c
FIX: Several fixes on the FV function
...
(1+x)^(1+y) was stringifyfied incorrectly
We still need work on this
FV now returns currency
FV(-1,-2,1) should return #DIV/0! not #NUM!
2024-12-14 22:08:44 +01:00
Gian Hancock
17cd1fee96
Validate arg count for OR function
...
To be compatible with Excel, at least 1 argument is required.
Fixes #175
2024-12-12 13:06:12 +01:00
Andrew Fillmore
d4a2289826
Add GEOMEAN .xlsx, Update .md files, and Run cargo fmt
2024-12-12 05:58:20 +01:00
Andrew Fillmore
4c3374c0de
Add GEOMEAN to Functions
2024-12-12 05:58:20 +01:00
Nicolás Hatcher
e065477b5a
FIX: Make clippy happy
...
This is mostly Rust 1.83
2024-11-29 19:55:12 +01:00
Nicolás Hatcher
472740f296
UPDATE: Use regex-lite crate instead of of regex
...
This removes almost 1Mb form the generated wasm(!!!)
2024-11-29 19:55:12 +01:00
Nicolás Hatcher
d70ab85396
FIX: Adds some more tests fro FORMULATEXT
2024-11-27 22:28:07 +01:00
Nicolás Hatcher
726fc1399d
UPDATE: Adds FORMULATEXT for Steve
2024-11-27 22:28:07 +01:00
Bruno Carvalhal
be6819fec3
Remove unwrap logic
2024-11-17 16:49:41 +01:00
Bruno Carvalhal
c2a2983937
Add missing UNICODE to to_xlsx_string
2024-11-17 16:49:41 +01:00
Bruno Carvalhal
63817e2d50
Also accept _xlfn.UNICODE
2024-11-17 16:49:41 +01:00
Bruno Carvalhal
028ae1ce98
Change output formatting of UNICODE to Number
2024-11-17 16:49:41 +01:00
Bruno Carvalhal
0b1199056f
Remove unneeded comment
2024-11-17 16:49:41 +01:00
Bruno Carvalhal
726bf677ed
Implement UNICODE function
2024-11-17 16:49:41 +01:00
Nicolás Hatcher
420ea9829c
FIX: Refactor some finatial functions to use common code
2024-11-17 11:59:10 +01:00
Nicolás Hatcher
49ae2d8915
FIX: Forbid unwrap, expect and panic in the base code
2024-11-17 11:59:10 +01:00
Nicolás Hatcher
bdd2c8fe04
FIX: Fix several indentation issues in comments
...
Thanks clippy!
2024-11-17 11:59:10 +01:00
Nicolás Hatcher Andrés
489027991c
UPDATE: Adds Web browser wasm bindings ( #30 )
...
* UPDATE: Adds Web browser wasm bindings
* FIX: install wasm-pack in the GitHub actions
2024-04-07 12:41:33 +02:00
Nicolás Hatcher Andrés
d445553d85
UPDATE: Adds 'user model' API ( #27 )
...
* bump version for documentation
* Fixes wrong doc comment
* renames old APIs to be consistent
2024-04-03 22:41:15 +02:00
Nicolás Hatcher Andrés
0029901ca3
UPDATE: Adds minimal generated documented functions ( #22 )
...
See #21
2024-03-16 12:57:25 +01:00
Nicolas Hatcher
ab2f1f10fc
FIX: Consolidate two structs
2024-02-20 15:19:05 +01:00
Nicolás Hatcher
c5b8efd83d
UPDATE: Dump of initial files
2023-11-20 10:46:19 +01:00