mersenneforum.org Decimal Places
 Register FAQ Search Today's Posts Mark Forums Read

 2008-06-06, 17:55 #1 Corbyguy     Mar 2007 11 Posts Decimal Places Is it possible to increase the decimal places shown in the outputs from 2 decimal places ie 0.00% to that of say 4 decimal places ie 0.0000% Jamie
2008-06-06, 18:47   #2
Mini-Geek
Account Deleted

"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts

Quote:
 Originally Posted by Corbyguy Is it possible to increase the decimal places shown in the outputs from 2 decimal places ie 0.00% to that of say 4 decimal places ie 0.0000% Jamie
In prime.ini (prime.txt for 25.x) add the PercentPrecision=n line. For the precision you showed, use PercentPrecision=4.

2008-06-07, 02:23   #3
ATH
Einyen

Dec 2003
Denmark

312210 Posts

undoc.txt:
Quote:
 You can adjust how many decimal digits of precision are displayed in lines output to the screen. In prime.txt enter a value between 0 and 6: PercentPrecision=n
I always use PercentPrecision=6.

Last fiddled with by ATH on 2008-06-07 at 02:23

 2008-06-09, 18:09 #4 crash893     Sep 2002 23·37 Posts just out of curiosity why would you do this?

 Similar Threads Thread Thread Starter Forum Replies Last Post davar55 Puzzles 13 2017-07-06 20:50 Nick Puzzles 9 2013-02-13 17:17 fivemack Lounge 75 2010-05-05 16:47 Damian Lounge 0 2010-01-04 17:52 ixfd64 Lounge 8 2009-07-09 02:09

All times are UTC. The time now is 11:31.

Fri May 7 11:31:42 UTC 2021 up 29 days, 6:12, 0 users, load averages: 2.28, 2.25, 2.54