BrainDump
  Home arrow BrainDump arrow Understanding Numeric Data in VBScript
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Understanding Numeric Data in VBScript
By: Nilpo
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2008-02-26

    Table of Contents:
  • Understanding Numeric Data in VBScript
  • Numeric Subtypes and Precision
  • Number systems
  • Conversion Functions
  • Converting data types

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Understanding Numeric Data in VBScript


    (Page 1 of 5 )

    VBScript—and programming in general—relies very heavily on numeric data. All computer data is stored and processed in binary (numeric) form. However, this data is not limited solely to binary. To properly understand how VBScript operates, it’s important to fully understand numeric data.

    The two most common data subtypes in VBScript can be divided into two major categories: numeric and string.  Numeric data types are interpreted as their name implies, as numbers.  Strings, in most cases, consist of human readable alphanumeric characters.

    The numeric types can again be divided into two major categories: fixed width and floating point.  Fixed width numbers are whole numbers—positive or negative with no decimal points.  Floating point numbers are numbers containing decimals and are representative of fractions.

    Examples of fixed width numbers:

    -1

    0

    478

    -1063

    1 x 1035

    Examples of floating point numbers:

    -1.025

    25.64

    -4789.256879

    1 x 10-35

    On most platforms, VBScript is able to make calculations using very large numbers. This, however, consumes a lot of memory depending upon the size of the numbers.  For this reason, the different numeric data types were created to make the process more efficient.

    More BrainDump Articles
    More By Nilpo


     

    BRAINDUMP ARTICLES

    - Microsoft, NSF Open Cloud Computing to Scien...
    - Windows 7 Grabs One-Tenth of Market
    - Windows Mobile 7
    - Commands in WPF
    - Routing Events in WPF
    - Property Value Inheritance and More WPF Conc...
    - Important New Concepts in WPF
    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection





    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek