Top "Numeric" questions

This tag is for questions concerning problems using numbers which either cannot be exactly solved, or where the exact solution may be much more difficult to acquire than by using numerical methods.

How to allow only numeric (0-9) in HTML inputbox using jQuery?

I am creating a web page where I have an input text field in which I want to allow only …

jquery html validation numeric
How to check if a String is numeric in Java

How would you check if a String was a number before parsing it?

java string numeric
Comparing numbers in Bash

I'm starting to learn about writing scripts for the bash terminal, but I can't work out how to get the …

bash shell numeric
(Built-in) way in JavaScript to check if a string is a valid number

I'm hoping there's something in the same conceptual space as the old VB6 IsNumeric() function?

javascript validation numeric
Extract a number from a string (JavaScript)

I have a string in JavaScript like #box2 and I just want the 2 from it. I tried: var thestring = $(this).…

javascript regex string numbers numeric
Is it possible to set a number to NaN or infinity?

Is it possible to set an element of an array to NaN in Python? Additionally, is it possible to set …

python numeric nan infinite
SQL Server : error converting data type varchar to numeric

I have a table: Account_Code | Desc 503100 | account xxx 503103 | account xxx 503104 | account xxx 503102A | account xxx 503110B | account xxx Where …

sql-server numeric varchar
How to validate numeric values which may contain dots or commas?

I need a regular expression for validation two or one numbers then , or . and again two or one numbers. So, …

regex validation numeric
angularjs: allows only numbers to be typed into a text box

In angularjs is there any functionality available that allows only numbers to be typed into a text box like

javascript ruby-on-rails angularjs numeric
How do I convert certain columns of a data frame to become factors?

Possible Duplicate: identifying or coding unique factors using R I'm having some trouble with R. I have a data set …

r numeric r-factor