//@Name:Cap/NCA //@Description:Returns Capitalisation / Net Current Assets //@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. // Author: Phil Tolhurst, ShareScript Support function getVal(share) { cap = share.getCap() NCA = share.getResult(0, Result.NetCurrentAssets) if (NCA == undefined || NCA == 0) return; else return (cap/NCA).toFixed(2); }