//@Name:Total CashFlow/EPS //@Description:Total Cash Flow / EPS //@Width:75 //@Env:Production // Care has been taken in preparing this code but it is provided without guarantee. // You are welcome to modify and extend it. Please add your name as a modifier if you distribute it. //Coded by: Phil Tolhurst, ShareScript Support function init(status) { } function getVal(share) { if (share.getResult(0,Result.CashFlowPS)==undefined || share.getResult(0,Result.EPS)==undefined || share.getType()=="Ord*" || share.getResult(0,Result.EPS)==0) return; else return share.getResult(0,Result.CashFlowPS)/share.getResult(0,Result.EPS); }