cancel
TrigID Top Student
Top Student
6 5 0 1
Message 1 of 10
514
Flag Post
HP Recommended

Numbers are displaying in scientific notation in the history lines, but not on the entry line

HP Prime G2
Unknown

I have the number format set to scientific notation (two decimal places).

 

If I enter the following into the entry line:

 

1E-9+2E-8

 

and press Enter, the calculator correctly outputs

 

1.00E-9+2.00E-8 (on the left)

 

and

 

2.10E-8 (on the right)

 

However, if I then copy the sum back into the entry line (either to modify a number or to add more operations) the line shows up as

 

0.000000001+0.00000002

 

which mostly defeats the point of using scientific notation in the first place. The same thing happens with large numbers. This makes editing equations extremely cumbersome as numbers that should only be a few characters long end up taking up a third of the line. Additionally, it is easy to lose track of the order of magnitude of numbers with more than 6 leading/trailing zeroes.

 

I understand that numbers with many significant digits must be shown in full in the entry line, but there's no reason why 1E-9 can't be displayed as such instead of 0.000000001. Please tell me I'm missing something, and this is not a limitation of the HP Prime.

9 REPLIES 9
Distinguished Professor
Distinguished Professor
3,671 3,396 171 517
Message 2 of 10
498
Flag Post
HP Recommended

Numbers are displaying in scientific notation in the history lines, but not on the entry line

Hi!, @TrigID :

In CAS Scientific 

Scientific_1.PNG 

In Wolfram Alpha ...

Scientific_2.PNG

 

Reply
0 Kudos
Tags (1)
TrigID Top Student
Top Student
6 5 0 1
Message 3 of 10
489
Flag Post
HP Recommended

Numbers are displaying in scientific notation in the history lines, but not on the entry line

The issue is:

 

"However, if I then copy the sum back into the entry line (either to modify a number or to add more operations) the line shows up as

 

0.000000001+0.00000002"

 

Here's a screen capture:

 

ScientificNotation.png

 

The bottom line ("0.000000001+0.00000002") is the problem. The numbers were entered in scientific notation by the user. The program displays them back in scientific notation in the history. But when the line is copy-pasted into the entry field, the numbers now show up in the wrong number format.

Reply
0 Kudos
Tags (1)
Distinguished Professor
Distinguished Professor
3,671 3,396 171 517
Message 4 of 10
476
Flag Post
HP Recommended

Numbers are displaying in scientific notation in the history lines, but not on the entry line

Hi!, @TrigID :

Is same the result. See ...

Is same.PNG

Is same_1.PNG 

Reply
0 Kudos
Tags (1)
TrigID Top Student
Top Student
6 5 0 1
Message 5 of 10
465
Flag Post
HP Recommended

Numbers are displaying in scientific notation in the history lines, but not on the entry line

No, it's not. Please try actually reading either one of my posts.

Reply
0 Kudos
Tags (1)
Associate Professor
Associate Professor
971 948 118 180
Message 6 of 10
435
Flag Post
HP Recommended

Numbers are displaying in scientific notation in the history lines, but not on the entry line

Hi,

 

I agree it is inconsistent with the number format setting. However when the command line is in edit mode, a number can be entered in any format and only gets converted to the number format setting once ENTER is pressed. So I can only guess that it was chosen to default all pasted numbers on the command line to standard format until entered.

-Bart
_________________________________________________________
calculator enthusiast
TrigID Top Student
Top Student
6 5 0 1
Message 7 of 10
412
Flag Post
HP Recommended

Numbers are displaying in scientific notation in the history lines, but not on the entry line

Hi Bart,

 

That's unfortunate, I was hoping it was just user error on my part.

 

I found another thread on this topic, made in 2017:

 

https://h30434.www3.hp.com/t5/Tablets-and-Mobile-Devices-Archive-Read-Only/HP-Prime-Copy-Paste-funct...

 

(notice the usual suspect again submitting a response without actually addressing the question)

 

I will return the HP Prime and stick with the TI Nspire, which works as expected. A shame, I liked the interface of the Prime a lot more.

Associate Professor
Associate Professor
971 948 118 180
Message 8 of 10
406
Flag Post
HP Recommended

Numbers are displaying in scientific notation in the history lines, but not on the entry line

Hi,

 

Thank you for linking that topic. The important answer there is from Tim Wessman as he is on the HP Prime devolopment team.

-Bart
_________________________________________________________
calculator enthusiast
Reply
0 Kudos
TrigID Top Student
Top Student
6 5 0 1
Message 9 of 10
401
Flag Post
HP Recommended

Numbers are displaying in scientific notation in the history lines, but not on the entry line

Yes, his response is what convinced me to return the Prime. If the developers don't understand that there's no loss of accuracy by expressing 0.000000001 as 1E-9, there is just no hope. His assumption about other graphing calculators working the same way is wrong, as well. The TI Nspire behaves as expected. In fact, the TI-89 Titanium (released in 2004) handled small numbers correctly as well.

 

Interestingly enough, the HP Prime does use common sense formatting when the default standard formatting would grow too long. Here are some examples:

 

1) 1e-12 gets pasted as 0.000000000001

2) 1e-13 gets pasted as 1e-13

3) 1e11 gets pasted as 100000000000

4) 1e12 gets pasted as 1e12

5) 1.234e-9 gets pasted as 0.000000001234

6) 1.2345e-9 gets pasted as 1.2345e-9

Reply
0 Kudos
TrigID Top Student
Top Student
6 5 0 1
Message 10 of 10
339
Flag Post
HP Recommended

Numbers are displaying in scientific notation in the history lines, but not on the entry line

For anyone reading this in the future, this is how the TI-NSpire and TI-89 behave:

 

1) 1E-3 gets pasted as 0.001 (TI-NSpire) or .001 (TI-89) (9 digits earlier/better than HP Prime)

2) 1E-4 gets pasted as 1.E-4 (both)

3) 1E13 gets pasted as 10000000000000 (both) (2 digits later/worse than HP Prime)

4) 1E14 gets pasted as 1.E14 (both)

 

Of course, if the calculator's copy operation simply copied what the user actually typed, none of this would be a problem. The user's preferred formatting would be preserved.

Reply
0 Kudos
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation