Javascript Number round5()
Home
Javascript
Javascript Basic
Number Extension
Menu
Javascript
Javascript Basic
Javascript Basics
Array
Array Extension
Class
Data Types
Date
Date Extension
Function
Generator
Iterator
Json
Language
Math
Math Extension
Number Extension
Object
Object Extension
Operators
Promise
Regular Expressions
Set
Statements
String
String Extension
Javascript Browser
BOM
DOM
Storage
Javascript Usage
Algorithm
Data Structure
Interview Question
Description
Javascript Number round5()
Copy
Number
.
prototype
.round5 =
function
() {
return
((this)- (this % 5)); }
Previous
Next
Related
Javascript Number round(digits)
Javascript Number round(fractionalDigits)
Javascript Number round(precision)
Javascript Number roundDecimal()
Javascript Number roundTo()