-
Notifications
You must be signed in to change notification settings - Fork 7
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
Incorrectly written scientific notation #173
Comments
This seems like something that should be fixed, unless there's pedagogical reason for it (which I doubt). @arouinfar your opinion? |
Reproduced. To inspect the actual concentration values, I added this console output to LogarithmicGraphNode.js: valueH3OProperty.link( value => console.log( `|H3O| = ${value}` ) );
valueOHProperty.link( value => console.log( `|OH| = ${value}` ) ); For the scenario that @KatieWoe described, the values printed to the browser console are:
Values are broken into mantissa and exponents by
So this is a problem in |
Tracking the general issue in phetsims/scenery-phet#613. |
Fixed in phetsims/scenery-phet#613. Patched in 1.4 branches for ph-scale and ph-scale-basics. Ready to regression test in next RC. |
@pixelzoom it definitely doesn't serve a pedagogical purpose, and it looks like a possible reoccurrence of #2. |
@arouinfar gets the Super Sleuth award for locating #2 !! That facilitated further digging, and I discovered that this bug was (re)introduced by @jessegreenberg in phetsims/scenery-phet@bfa1874 on 9/20/17. I will note this in phetsims/scenery-phet#613. |
This is irrelevant for ph-scale-basics. To verify in ph-scale, follow the steps to reproduce in #173 (comment). |
On Chromebook, the pH scientific notation is fixed for the blood solution on master. |
Thanks @brooklynlash. Closing. |
Test device
Hooper and Dell
Operating System
iOS 12 and Win 10
Browser
Safari and Chrome
Problem description
For phetsims/qa#514. This does seem to occur in the published sim. On the second screen, it is possible to get two numbers on the side graph that should be equal, but are written differently, causing confusion. Specifically, you can have the number 1.0x10^-7 written as 10.0x10^-8, which is equal, but not scientific notation. This incorrect notation does also occur elsewhere, this is just how I encountered it, and seemed easiest to see due to how long it stayed that way. As you continue to change pH it does go to the correct notation.
Steps to reproduce
Visuals
The text was updated successfully, but these errors were encountered: