Hi, I'm not nearly as well versed in JavaScript as I am in Java. I was wondering if someone could answer these questions for me:
If "memory" is stored in the DB as null, I assume args will be equal to undefined below. Is that correct? memory: { label: 'label.memory.mb', converter: function(args) { if (args == undefined) return ''; else return cloudStack.converters.convertBytes(args * 1024 * 1024); } }, If "maxiops" is stored in the DB as null, will we simply return "N/A" or is there a problem comparing what is essentially an undefined variable with 0? maxiops: { label: 'label.disk.iops.max', converter: function(args) { if (args > 0) return args; else return "N/A"; } }, Thanks! -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud<http://solidfire.com/solution/overview/?video=play> *(tm)*