//@Name:Capitalisation over Cash Flow //@Description:Returns Capitalisation divided by Cash Flow //@Returns:Number //@Width:60 // 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 getVal(share) { if (share.getResult(0, Result.CashFlow)==undefined || share.getResult(0, Result.CashFlow)==0) return; return (share.getCap()/share.getResult(0, Result.CashFlow)).toFixed(2); }