Forget Code
  • Log in Sign Up
  • Log in
  • Sign Up
 

JavaScript

Add a new snippet
Array23 Basics21 Control Statements6 Conversion Functions7 Cookie2 Data Type3 Date Functions2 Exception Handling4 Functions1 HTML Tags12 Keywords10 Loops8 Math Functions44 Math Snippets5 Misc3 Obsolete4 Regular Expressions2 String Functions33 String Snippets4 Unit Testing1 Utility Snippets1

 
Number() object
Precision
Maximum minimum values
MAX_VALUE
MIN_VALUE
NEGATIVE_INFINITY
POSITIVE_INFINITY
toExponential
toPrecision
toSource
toString
String comparisons
fixed()
length
length property
isFinite() method
To check if the input is a number
to convert a string to a number
to calculate the absolute value of num.
acos()
asin()
atan()
atan2
ceil()
cos()
E property
exp()
Floor - Truncate a Decimal
LN10
LN2
log()
LOG10E
LOG2E
max()
min()
PI property
pow()
random()
round()
sin()
sqrt()
SQRT1_2
SQRT2
tan()
© Forget Code 2023
  • About
  • |
  • Feedback

    Feedback

  • |
  • Sitemap