Javascript Number after()

Description

Javascript Number after()

Number.prototype.after = function () {
    var value = parseInt(this.toString().split('.')[1], 10)
    return value ? value : 0
}



PreviousNext

Related