Al Programming
Free source code programming in C#, VB.Net, Java, SQL
Search This Blog
Friday, December 6, 2013
Abs C# example
C#
>
System
>
Math class
> Abs
Abs
returns the absolute value of a number.
Example:
int
i = -32;
int
j =
Math
.Abs(i);
// 32
Newer Post
Older Post
Home