Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# int positive only

int y = Math.Abs(x);  //If x is 1, y is one. If x is -1, y is 1
 
PREVIOUS NEXT
Tagged: #int #positive
ADD COMMENT
Topic
Name
6+7 =