Numeric data types - visual basic, Visual Basic Programming

Numeric data types:

The Integer, long integer are used for entire numbers. Single and doubles are related with the floating point numbers. Currency is related with numbers dealing with money. The code below describes the 5 different numeric data types and their effect. An Integer can store upto 32767 only. Trying to store a value ahead of 32767 will result in an overflow error.

The variable a is of type Single. Whenever 8.97655467787088 is stored in a, the actual value stored would be the 8.976555 only. When the data type is Single and the value stored is 100000000 it would be demonstrated as 1E+08 using Scientific notation. Whenever the data type is Currency and the value stored is 100000000 it would be displayed as 100000000.

These are the 5 different numeric data types existed in the VB.

Posted Date: 10/9/2012 8:13:09 AM | Location : United States







Related Discussions:- Numeric data types - visual basic, Assignment Help, Ask Question on Numeric data types - visual basic, Get Answer, Expert's Help, Numeric data types - visual basic Discussions

Write discussion on Numeric data types - visual basic
Your posts are moderated
Related Questions
sir , i need visual basic form design & coding for Reynolds number & type of flow .

Hungarian Notation: The Hungarian Notation was invented by Charles Simonyi from Microsoft. It is a naming convention. It is a reminder of the type of a variable. The Handles h

Part 1: Create an application that allows the user to enter the following employee data: First Name, Middle Name, Last Name, Employee Number, Department, Telephone Number, Telephon

Displaying The Database: The Text box, image box, check box, labels, picture box can be bounded to the data control for exhibiting the data base contents. The two properties a


I would like to know how to deploy a VB.NET Application using SQL SERVER as a back-end database

For ..... Next Repetition Statement: To demonstrate the working of for .. next control statement, put a command button and a label control on the form. The Handle clicks the e

I need a VB6 software for making a soccerboard for 10 teams & automatically generate their fixtures

Data types: The New data types were defined by using the typedef or #define statements. This was to allow the transition from 16 bit to 32 bit system. Some of the fresh data t

I need assistance with writing the Tryparse I have 98% of the assignment done.