var current = +this.current.resolve(context);
var max = +this.max.resolve(context);
if(typeof current != "number"||typeof max != "number"||!max){this.contents.set("");
}else{this.contents.set("" + Math.round((current / max)*this.width));
}returnthis.contents.render(context, buffer);