Top "Types" questions

Types, and type systems, are used to enforce levels of abstraction in programs.

Is there a Boolean data type in Microsoft SQL Server like there is in MySQL?

Is there a Boolean data type in Microsoft SQL Server like there is in MySQL? If so, what is the …

sql-server types boolean
What are the differences between type() and isinstance()?

What are the differences between these two code fragments? Using type(): import types if type(a) is types.DictType: do_…

python oop inheritance types
How do I check that a number is float or integer?

How to find that a number is float or integer? 1.25 --> float 1 --> integer 0 --> integer 0.25 --&…

javascript types numbers
String was not recognized as a valid DateTime " format dd/MM/yyyy"

I am trying to convert my string formatted value to date type with format dd/MM/yyyy. this.Text="22/11/2009"; DateTime …

c# .net datetime types casting
How to check if string input is a number?

How do I check if a user's string input is a number (e.g. -1, 0, 1, etc.)? user_input = input("Enter …

python input types
Check whether variable is number or string in JavaScript

Does anyone know how can I check whether a variable is a number or a string in JavaScript?

javascript types
Limit file format when using <input type="file">?

I'd like to restrict the type of file that can be chosen from the native OS file chooser when the …

html file types
How to create a new object instance from a Type

One may not always know the Type of an object at compile-time, but may need to create an instance of …

c# .net performance reflection types
How to store decimal values in SQL Server?

I'm trying to figure out decimal data type of a column in the SQL Server. I need to be able …

sql sql-server types decimal
How to check if an object is a list or tuple (but not string)?

This is what I normally do in order to ascertain that the input is a list/tuple - but not …

python list types assert