Thank you :)

On Tue, Jul 7, 2009 at 16:46, Cesar Sanz<the.email.tr...@gmail.com> wrote:
>
> Massimos'
>
> Number.prototype.padRight = function (fill) {
>   var v = this.toString().split('.'), d = v[1] || '';
>   return (v[0] || '0') + '.' + d + fill.substr(d.length);
> }
>
> Very elegant solution!!
-- 
Massimo Lombardo
Linux user #437712

Reply via email to