Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Raynab — Manage Your Budgets] ... #16819

Closed
ldebritto opened this issue Feb 4, 2025 · 2 comments · Fixed by #17024
Closed

[Raynab — Manage Your Budgets] ... #16819

ldebritto opened this issue Feb 4, 2025 · 2 comments · Fixed by #17024
Assignees
Labels
bug Something isn't working extension: raynab Issues related to the raynab extension extension Issues related to one of the extensions in the Store

Comments

@ldebritto
Copy link

Extension

https://www.raycast.com/CodetaroMiura/raynab

Raycast Version

1.90

macOS Version

15.2

Description

Error:

Error: Amount (-29,82) cannot be converted to a number

Ii:transactions.ts:51:10

---
48:   if (typeof amount === 'number' || isNumberLike(amount)) {
49:     return Number(amount) * 1000;
50:   } else {
51:     throw new Error(`Amount (${amount}) cannot be converted to a number`);
52:   }
53: }
54: 
---

Object.onSubmit:transaction.js:31:11655
transaction.js:13:1061
index.js:20:6218

Steps To Reproduce

Enter an amount using comma as separator for cents as usual in some non-english standards. Such as -29,82 in the example.

Current Behaviour

Can't evaluate the string to a number

Expected Behaviour

It would be a good idea to add further logic to find/replace and then match regional settings that use the comma to separate floating numbers and period to separate thousands.

@ldebritto ldebritto added bug Something isn't working extension Issues related to one of the extensions in the Store labels Feb 4, 2025
@raycastbot raycastbot added the extension: raynab Issues related to the raynab extension label Feb 4, 2025
@raycastbot
Copy link
Collaborator

Thank you for opening this issue!

🔔 @gogocharli you might want to have a look.

💡 Author and Contributors commands

The author and contributors of CodetaroMiura/raynab can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot close as not planned Closes the issue as not planned.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

@gogocharli
Copy link
Contributor

@raycastbot assign me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working extension: raynab Issues related to the raynab extension extension Issues related to one of the extensions in the Store
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants