Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips

Data Types

1-20 of 72     Previous     Next
Converting Between List and String Types
by Srinath MS
You can convert .NET Lists to delimited strings—and vice-versa.
Understanding Java's Integer Pool Can Avoid Problems
by Shreyas Pai
When apparently-equal integer values fail an equality test, remember the integer pool.
Create a Generic List at Run Time
by Srinath MS
This tip shows you how to create a generic list of a specified type at run time.
A Function to Determine Whether a String Can Be Converted to a Number
by Roberto Chiavolini
Find out how to determine whether a string can be converted to a number.
Converting Numbers to Strings
by Baddy R
Instead of writing your own function to convert an integer or float to a string, just use the C function snprintf (in the stdio.h header) or the C++ class stringstream (in the sstream header).
Displaying "Bit" Database Fields in Web Forms
by Srinath MS
When fields with 'Bit' Data Types are displayed on Web Pages, they shows as True/False, as opposed to showing the actual '0' / '1'.
Converting an Integer to a C++ String
by Jon Sumners
Boost libraries provide a better way to convert numbers into strings or vice versa.
Converting Numbers to Column Names in Excel 2007
by John P.
While converting to Excel 2007, I had to update the column number to string code in my program to handle columns of 703 and above (AAA). I found Yassine Moe's code and "simplified" it. This tip shows the results.
Converting from Centigrade to Fahrenheit and Vice Versa
by Jijesh Nair
Use the following code to convert from Centigrade to Fahrenheit and vice versa.
Using ANYDATA in Oracle 9i
by Shraddha Pandya
First introduced in Oracle 9i, ANYDATA is a "self-describing data instance type" which means it not only holds the value, but it also holds its own data type within each instance of it.
Avoid Memory Corruption when Assigning a CComBSTR to a CComVariant's bstrVal Member
by Alison Lomaka
Although the CComBSTR = operator is overloaded to make a copy of the string, this is not the case when assigning a CComVariant's bstrVal member to a CComBSTR.
Convert "Little-Endian" to "Big-Endian"
by Leonard Anghel
This tip outlines two simple methods that help you to convert a number from the "little-endian" format to the "big-endian" format.
Declare the Coolest XQuery Variables
by Leonard Anghel
This tip shows how to declare some important variables in XQuery.
Use Nullable Types to Assign a Null Value to Value-type Variables
by PalaniChamy VijayShankar
Learn how to use nullable types to assign a null value to value-type variables.
Typeid: Cross-Platform/Compiler Issues
by Amit Gupta
typeid should be used cautiously when an application is targeted for multiple platforms.
Convert Numbers to Excel Column Names
by Yassine Moe
This algorithm converts column numbers (1-x) to Excel column names.
Presenting Dates in Varying Formats
by Sridhar MS
Dates are generally a requirement for every application. However, including dates for users across the globe can be tedious, because different people use different formats to read the date.
Use the "as" Operator for Reference Type Casting
by Jaya Nehru Kumar
Using the "as" operator for reference type casting makes your code more readable, and can prevent exceptions should a type mismatch occur.
Achieving IIF Functionality in T-SQL
by Jaya Nehru Kumar
Although T-SQL doesn't provide an IIF command, you can get equivalent functionality using the SELECT CASE command.
Restricting Implicit Conversion
by Saurabh Ramya
Learn how to restrict implicit conversion in C++.
1-20 of 72     Previous     Next
Sitemap