Search results
43 packages found
An ES-spec-compliant `parseInt` shim/polyfill/replacement that works as far down as ES3
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
A simple utility to Check the value is number or can convert to a number, for example string ' 123 ' can be converted to 123.
Abaco an ultra fast number parser for Buffers. It parses a Buffer or a portion of it to get the Number value stored as (ASCII) String.
Convert query strings to numbers for express/connect applications.
This is a JavaScript utility. It returns `true` if the value is a string number written in fixed notation and in decimal base.
An ES-spec-compliant Number.parseInt shim/polyfill/replacement that works as far down as ES3
A tool to parse numbers from different locales
parse Chinese numeric strings to integer
The ts-is-number a utility npm package that checks if a given input is a valid finite number or a string that can be converted to a valid finite number.
Convert to/from integer in any base
Function will convert incoming value as integer. If argument is not a number, function will return 0.
If this parseInt() encounters an invalid digit, it fails loudly instead of returning a partially parsed number.
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
- intval
- int val
- int value
- integer value
- int
- integer
- parseint
- parse int
- parse integer
- number
- numeric
- type
- typecast
- isnan
- View more
parse Chinese numeric strings to integer
Parse integers from comma separated string, including ranges.
Parses and manipulates multiple comma-separated integer ranges (eg 1-3,8-10)
The lodash method `_.parseInt` exported as a module.