intval
Version:
Returns sensible integer value of a given variable. Unlike parseInt it will never return NaN and you can set a default value to be returned in case the variable is undefined! Hence you can write even cleaner code. So if it's supposed to be an integer, cas
| Filename | Content Type | Size | |
|---|---|---|---|
| 833 B | |||
| 471 B | |||
| 1.06 kB | |||
| 5.02 kB | |||
| 1.83 kB |