Skip to content

Fix BTC calculator NaN issues - #10

Open
sebasgm80 wants to merge 2 commits into
mainfrom
codex/update-input-parsing-and-safeguard-calculations
Open

Fix BTC calculator NaN issues#10
sebasgm80 wants to merge 2 commits into
mainfrom
codex/update-input-parsing-and-safeguard-calculations

Conversation

@sebasgm80

Copy link
Copy Markdown
Owner

Summary

  • handle empty inputs when parsing floats
  • avoid divide by zero in BTC calculations
  • compute EUR value only when the numbers are valid

Testing

  • npm test (fails: Missing script)
  • npm run lint (fails: ESLint couldn't find config)

https://chatgpt.com/codex/tasks/task_e_6843cb893a408323931b986e337d7136

@netlify

netlify Bot commented Jun 7, 2025

Copy link
Copy Markdown

Deploy Preview for btcsalida ready!

Name Link
🔨 Latest commit d03dd55
🔍 Latest deploy log https://app.netlify.com/projects/btcsalida/deploys/68ab61ed3d137200082005d2
😎 Deploy Preview https://deploy-preview-10--btcsalida.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant