It's not a secret anymore!*
The moose likes Other Languages and the fly likes Decimal Data Type in Visual Basic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Decimal Data Type in Visual Basic" Watch "Decimal Data Type in Visual Basic" New topic

Decimal Data Type in Visual Basic

Andrew McCarthy

Joined: Jun 20, 2012
Posts: 22
Is there a way to store variables as a decimal data type in Visual Basic? I'm supposed to write a program that allows a user to input a pair of values and receive a third value, using the pythagorean theorem, but I keep getting an error. I know it can be done if I use a double data type, but the assignment specifically says to use the decimal type, so I'm stumped.
It is sorta covered in the JavaRanch Style Guide.
subject: Decimal Data Type in Visual Basic
Similar Threads
different behavior with db2 driver, type 4
FORM DATA RETREIVAL...................URGENT!!!!!!!!!!!!!!!!!!!!!!!!!!!
form data retreival