EPS Calc

So just to make sure methodology is right, when testing for Dilutive EPS, if you have a question that involves convertable PS and Convertible bonds. You should compare the dilutive eps for PS to basic to see if it is dilutive, then compare the Convertible bonds dilutive eps to basic to see if it is dilutive. Then add the shares to the commone outstanding shares for each only if they are dilutive on their own? Does that make sense the way im wording it? and if so am i thinking of that right?