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

Rolling Stock: one more ipo fix #9214

Merged
merged 1 commit into from
May 29, 2023
Merged

Conversation

roseundy
Copy link
Collaborator

Fixes #9212

Implementation Notes

Fix to allow purchase of 4 shares during an IPO. The failing case represents the worst difference between max company value and min par price.

I thought about using a ceiling function and making the code cleaner, but I remembered there have been rounding issues with Opal/JS.

No pins needed.

@tobymao tobymao merged commit 20fe877 into tobymao:master May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rolling Stock v1 Floating and Issuing 4 Shares
2 participants