Log in

View Full Version : Accounting with visualbasic


muneeridcb
Jun 13, 2009, 12:50 AM
Can I make an Accounting Programme in Visual Basic.

Perito
Jun 13, 2009, 05:48 AM
Sure. You can do accounting programs in all sorts of languages.

One hint. People sometimes have the tendency to use floating-point numbers when dealing with money. For example, $1.25 looks like a floating point number. This can cause round-off problems. It's better to use a very long integer type. $1.25 would be 125 (cents, pesos, etc). That way, there won't be any round-off errors. Visual Basic 6 has a CURRENCY type that is made for this. The Currency type is also available in Visual Basic.NET. This is an integer type specifically made for accounting.