Talk:Convert decimal number to rational: Difference between revisions

Repetitive digit chains and rounding
(Repetitive digit chains and rounding)
Line 10:
:Well if you can express it as a finite decimal expansion ... :-)<br>--[[User:Paddy3118|Paddy3118]] 11:44, 12 June 2011 (UTC)
:Presumably we are only working to the precision (or double precision) of the system registers, (or to the number of digits originally provided in numerical string based implementations), so the values would all be rational. --[[User:Markhobley|Markhobley]] 12:28, 12 June 2011 (UTC)
 
== Repetitive digit chains and rounding ==
 
What do we want to do with chains of repeating sequences such as 0.333333333333? Do we want 111111111111/333333333333 or 333333333333/1000000000000 or do we need to truncate the repetitions before evaluation (producing 3/10? or possibly even 1/3). --[[User:Markhobley|Markhobley]] 12:52, 12 June 2011 (UTC)