- Aug 04, 2024
-
-
youngcw authored
* revert built in number parse * note * tests * remove trivial test * more tests --------- Co-authored-by:
Julian Dominguez-Schatz <julian.dominguezschatz@gmail.com>
-
- Jul 09, 2024
-
-
Julian Wachholz authored
-
Julian Wachholz authored
-
- Jun 03, 2024
-
-
Sreetam Das authored
* Update regex for `looselyParseAmount` for 5-9 decimal places * Add release note * Update comment, add some more tests
-
- Apr 12, 2024
-
-
youngcw authored
* allow specifically 5 decimal places in parser * note * update tests * lint
-
- Feb 28, 2024
-
-
youngcw authored
* specify 2 decimal places in the csv amount parser * note * update tests * cleanup
-
- Jul 29, 2023
-
-
Sid Vishnoi authored
-
- May 05, 2023
-
-
TheTrueCaligari authored
-
- Apr 03, 2023
-
-
Alberto Gasparin authored
Part 1 of the conversion. Mostly renaming js to ts and making sure things make still sense. Added also handy TS ESLint rules. In order to support the various .web/.electron/... I ended up adopting `index.d.ts` as pattern to share type definition. Let me know if that makes sense for you too. Right now the function type definition is duplicated, but the solution will be importing from `index.d.ts` and using `const fn: FnDef = () => ...` that way we can keep all variants in sync from a single type file. Such rewrite however is better done in another PR otherwise we risk confusing git and loosing history (rename + too many changes). Another thing that might do in the next PR is convert all files to ESModules, as things get confusing between CJS exports, ESM default/named and TS adds extra complains.
-
- Mar 24, 2023
-
-
Aidan Harbison authored
- When parsing an amount string, consider surrounding parentheses to mean the amount is negative. - Ensures all input to `parseFloat()` is sanitized. Closes: #807
-
- Mar 18, 2023
-
-
Jed Fox authored
- Add a “hide decimal places” setting to visually hide the `.xx` from currency values globally - When hiding the fractional digits, slightly decrease character spacing to allow more digits to show up Ref: #327 New settings: <img width="566" alt="Screenshot_2023-03-17 14 19 46" src="https://user-images.githubusercontent.com/25517624/225986815-b884b93d-02f9-48b3-a73d-d27f90b678cf.png"> Before/after: <img width="149" alt="Screenshot_2023-02-27 21 47 07" src="https://user-images.githubusercontent.com/25517624/222916856-21ab4f03-56c6-4b24-8fc1-ac4b883138b7.png"><img width="131" alt="Screenshot_2023-02-27 22 02 01" src="https://user-images.githubusercontent.com/25517624/222916859-cf882ca3-6087-4994-818e-239c3374e412.png">
-
- Jul 20, 2022
-
-
Trevor Farlow authored
-
- Apr 29, 2022
-
-
James Long authored
-