Visual Basic Mathematics Tutorials

Some people think you have to use a special language for mathematics. Not so! Computers are just big calculators right, so of course a programming language like Visual Basic allows you to do mathematical operations. These VB6 show you how to do simple math functions and also how to do very complex math operations in your programs.

  • Level1
    VB's arithmetic operators allow you to actually do things with numbers. You have all the basics (like you'd find on your calculator) plus many more advanced operators at your disposal.
  • Level1
    In VB assignments are very easy to use. However, this tutorial explains all the details of what VB does when you use the simple = statement and gives examples of valid and invalid assignments.
  • Level2
    Learn how to use VB6 to convert numbers that are in different bases. For example convert a decimal to a hexadecimal or to octal.
  • Level2
    This tutorial shows you how to use the Visual Basic Math, Financial, and Boolean functions. It has examples for Abs, Atn, Cos, Exp, Fix, Int, Log, Round, Rnd, Sgn, Sin, Sqr, and Tan VB6 functions.
  • Level2
    This Visual Basic Tutorial explains how you can format Numbers, Currency, and percents using VB6 Format functions.
  • Level2
    Binary is sometimes a confusing thing, but if you use binary operators you can store a lot more data in a simple integer. See how this can be used to store properties for game characters.
  • Level4
    This Visual Basic 6 tutorial shows how to select objects in a 3D space using Microsoft DirectX 8 - Very useful for any 3D game development.
  • Level3
    In a good game we need our enemies to seek after the main character (like pacman and the ghosts) or we need them to flee (like the ghosts when pacman eats a pill).
  • Level3
    Games aren't much fun without collisions. Ships collide into astroids little mushrooms collide into mario. We must know how to detect these collisions - and it turns out to be pretty easy.
  • Level3
    Many times in a game you want a bunch of objects to move as if they are a flock. It is not too complicated with a little math to make this happen.
  • Level2
    Sometimes all you need is some simple encryption so users don't easily see something you don't want them to. Learn how you can do that with the XOR function.

If you enjoyed this post, subscribe for updates (it's free)