The math.abs function is overloaded. You can pass in any of the following
types and a number OF THAT TYPE is returned
long
short
single
double
sbyte
integer
decimal
Overloading allows the compiler to chose the correct function based upon the
type of the value passed in.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Brian Henry" <no****@nospam.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
Is there a way to get an absoulte value of a 32bit signed integer? I
noticed Math.abs is an 8-bit integer, but i need the absoulte value of a larger
number. thanks!