Properties
Category
English
Similar Topics
Statistics
Comments
18
Participants
5
Subscribers
6
Votes
2
Views
1264
Share
Algorithm for rounding to n decimal places
Answered
Hi,
From numerous threads, eg.
https://help.geogebra.org/topic/inaccuracyprobeminternal15decimalsisnotenough
https://help.geogebra.org/topic/decimalprecisionquestion
we know 15 decimal places is limit of precision within Geogebra.
However can anyone assist to use some algorithm using Geogebra scripts or Javascript inside Geogebra to convert a rational number p/q to say n decimal places where n can go up to 200?
Example from external site at mathisfun :
 GeoGebra
 Help
 Partners

Contact us
 Feedback & Questions
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 +43 677 6137 2693
© 2020 International GeoGebra Institute
Hi.
To do what you are looking for Geogebra should provide some devoted instrinsic functions, like the ones below related to the well known package MatLab, or its Octave clone (free of charge).
Normally MatLab works around 15digit precision, which can be expanded to the desired one through the funnction vpa() of symbolic calculation.
Cheers
You can use the CASView, eg Numeric(1/7,200)
Fantastic!
One more idea!
Another way  drag the red point:
https://www.geogebra.org/m/UipIJcvQ
So fine, Noel! Thanks a lot
Comments have been locked on this page!