View Single Post
  #1   Report Post  
GCD_Dilemma
 
Posts: n/a
Default GCD Function doesn't work in some cases

How come the following in Excel 2003:
=GCD((1.4-1)*10,10)
yields 1 rather than 2, but
=GCD((0.4)*10,10)
yields the correct answer 2 ?
=GCD(4,10)
also correctly yields 2 !
(I've broken down this formula into its simplest elements;
the numbers normally will be filled with variables or cell references.)