Jul
27
2007

VB.NET Float and VB.NET Abs

Going from Classic ASP to ASP.NET using VB.NET you can run into conversion problems. Some of these are:

Abs() – This function requires importing the namespace System.Math.

At the top of your code put this: Imports System.Math

A float is now a double.

Use it like Dim i as Double, etc.

Share and Enjoy:
  • del.icio.us
  • digg
  • Furl
  • NewsVine
  • RawSugar
  • Reddit
  • Spurl
  • YahooMyWeb
Written by Tom in: Uncategorized |

No Comments »

RSS feed for comments on this post.

Leave a comment

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes