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

DOCUMENTATION: Fix incorrectly documented BusinessFactor #1915

Merged
merged 1 commit into from
Jan 19, 2025

Conversation

esainane
Copy link
Contributor

The advanced documentation incorrectly claims that the multiplier is 0.001. The actual code divides by 10000 (10e3), effectively multiplying by 0.0001:

https://github.com/bitburner-official/bitburner-src/blob/dev/src/Corporation/Division.ts#L1085

Perhaps the author confused 10e3 and 1e3, or the code changed since the guide was written?


Tested in trial by fire while developing my (incomplete) corporation management script, and wondering why the heck the numbers weren't lining up.

esainane/bitburner-scripts@22712cd39e5a:src/corp.ts#L111

The advanced documentation incorrectly claims that the multiplier is
0.001. The actual code divides by 10000 (10e3), effectively
multiplying by 0.0001:

https://github.com/bitburner-official/bitburner-src/blob/dev/src/Corporation/Division.ts#L1085

Perhaps the author confused 10e3 and 1e3, or the code changed since
the guide was written?
@catloversg
Copy link
Contributor

Yeah. It's a typo.

@d0sboots d0sboots merged commit 93a1d6d into bitburner-official:dev Jan 19, 2025
5 checks passed
antoinedube pushed a commit to antoinedube/bitburner-source that referenced this pull request Feb 1, 2025
…fficial#1915)

The advanced documentation incorrectly claims that the multiplier is
0.001. The actual code divides by 10000 (10e3), effectively
multiplying by 0.0001:

https://github.com/bitburner-official/bitburner-src/blob/dev/src/Corporation/Division.ts#L1085
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants