I use BC to compare xml files which include calculated numbers
Is there a way to flag as unimportant where two numbers only differ after n decimal places ie if n = 3 then
<Numb>123.45678</Numb> and <123.45681</Numb> would be flagged as unimportant
<Numb>123.45678</Numb> and <Numb>123.46578</Numb> would be flagged as important
Any ideas gratefully received
Is there a way to flag as unimportant where two numbers only differ after n decimal places ie if n = 3 then
<Numb>123.45678</Numb> and <123.45681</Numb> would be flagged as unimportant
<Numb>123.45678</Numb> and <Numb>123.46578</Numb> would be flagged as important
Any ideas gratefully received
Comment