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
I am a beginner in Visual basic 2012 and making a data management programme with visual basic 2012 as front end and MySql as back end. I want to filter data grid view table with Li

For naming anything variable names follow the standard rules in VBScript. A variable name: Should begin with an alphabetic character. Cannot have an embedded period. Sh

Databound Controls - A controls use to display the contents of table using Data Control , have to bound each Control to the specific field and the controls are Known as the Data Bo

i need sample balance sheet form in vb.net


CLASS WIZARD The Class wizard shown in figure is a tool to handle the message handlers for objects, to define the member variables. Figure: Class Wizard


In your code A, Function has to always be used on the right side of a variable assignment or in an expression. For illustration: Temp = Celsius(fDegrees) or Msg Box "The C

DDX - Dialog Data Exchange: The Data members can be related with specific controls in the dialog box. When the dialog box is displayed, the DDX will transfer the values into t

The Document: The document contains the user's data. For illustration, after working on a text processor, the user may wish for to save the file. Such an action builds a docum