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
MODULE The Modules are the collection of VB statements. Modules are used to simplify the program development. To add a module to your project, choose the project tabpage, and t

What are the differences between Property Get, Set and Let? Set - Value assigned to ActiveX Object from the form. Let - Value retried to ActiveX Object from the form. Get- Assigns

Methods: VBScript Dictionary Object Method D escription Add Method Adds a key, item pair. Exists Method

Difference between Class Module and Standard Module? Standard module: -This place for variable declarations,procedures etc.& it can accessed these procedures in whereve

You can employ Do...Loop statements to run a block of statements indefinite number of times. The statements are repeated either whilst a condition is True or till a condition becom

The View: The view is used for visualising. For illustration, while performing word processing, the user works on a sequence of words which compose the text. If a user is perf

Dialog Based Application: (A) Dialog Based Application to demonstrate Animate Control: 1. Build a dialog based application. 2. Design the dialog as shown. 3. Place

US WordPress Expert We are functioning on a software application based on WordPress (BuddyPress + Event Manager). Everything as far as functionality is done. Utmost of the styli

Displaying the file Without Scrolling: To display a file follow the steps as shown below: 1. Generate a SDI application. 2. Type the coding as shown in the Serialize els

I HAVE A C# ASSIGNMENT , WILL I FIND SOMEONE PROFESSIONAL HELP HERE ?