refactor-helper.js

Open
#75 0 comments 0 reactions 0 assignees View on GitHub

@aniket866 is already working on this.

Since Jan 30, 2026.

  • #76 by @aniket866 — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

The issue names refactor-helper.js and describes precision loss in currency conversion from floating-point math. Start by reviewing that file and the open linked pull request #76 to understand the work already underway. Done means currency calculations use BigInt and avoid the reported precision loss.

Written by the indexing model from the issue text.

Description

Issue
  • Currency conversion uses JavaScript floating-point math (parseFloat, 1e6).

  • This causes precision loss for large amounts.

  • Financial calculations must use BigInt to stay accurate.

    Please review

Dominant language
JavaScript
Stars
16
Forks
29
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from StabilityNexus/StablePay

All issues in StabilityNexus/StablePay

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.