Javascript String roundString()
roundString()
String.prototype.roundString = function() { var rstr = '' var dstr = this/*from ww w . j a va 2 s . com*/ for (var i = 0; i < this.length, dstr.length > rstr.length; i ++) { } };