Scientific notation in sliders

Zubair Abdullah-Vetter shared this question 6 days ago
Answered

Is there a way to make the sliders display the number in scientific notation?

For example, I am using a slider to display numbers ranging from 1e10 to 1e18 and the slider displays 100000000000......... which is not very user friendly.

ScientificText(...) does not work but is there a similar solution?


Thanks

Comments (5)

photo
1

use caption in on updatescript


PD: I forgot the file

Files: foro.ggb
photo
1

This is an example file :)

Have a look at the Scripting (OnUpdate) tab of the Properties window of the slider.

photo
1

Thanks that helped. Now however, the name of the slider does not appear?

For the show label drop down menu, there is no option for name and caption.

Is there a way to script that in?

photo
1

The expanded file/script of mathmagic/simona

Note:

%n the name of object in his caption

%0 reference to the object included this script

If the object is renaming then nothing is to change in the script.

photo
1

Thank you so much, I'm starting to pick up on this.

photo
© 2019 International GeoGebra Institute