File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Decimal Data Type in Visual Basic

 
Andrew McCarthy
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic