We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I’m using the allocate function in my application with nestjs, but for these parameters the allocate function never ends or gives an error:
allocate
const d = dinero({"amount":337582417582417600000,"currency":{"code":"USD","base":10,"exponent":2},"scale":19}); allocate(d, [0.3, 0.7]); const d = dinero({ amount: -4000040194829794000, currency: { code: "SGD", base: 10, exponent: 2 }, scale: 19, }); const result = d.allocate([0.15, 0.35, 0.4, 0.1]); console.log("🚀 ~ result:", JSON.stringify(result));
It should allocate correctly and return result within a short time
Run this code for reproducing
^2.0.0-alpha.9
Node ~18.20.2
The text was updated successfully, but these errors were encountered:
sarahdayan
No branches or pull requests
Is there an existing issue for this?
Current behavior
I’m using the
allocate
function in my application with nestjs, but for these parameters the allocate function never ends or gives an error:Expected behavior
It should allocate correctly and return result within a short time
Steps to reproduce
Run this code for reproducing
Version
^2.0.0-alpha.9
Environment
Node ~18.20.2
Code of Conduct
The text was updated successfully, but these errors were encountered: