If I have a list of numbers like this:
list = {0.3565127, 0.8656421, 0.231479879, 0.39698787, 0.536987651},
which are all between 0 and 1, each having lots of digits, and whose precision is not known (and also not important). I don't know their exact values. (It could be a list of hundreds of numbers, so we don't know each of them exactly).
Yet I know some of them have the form 0.?969?????????
, where the ?s
represent digits I do not know; besides; the digits known are all within the first five digits behind the decimal point.
So, how can I construct a pattern object (like x_^2
for symbols) for replacing numbers that match the pattern?