check if decimal positive C3 code example
Example 1: if number negative c sharp
bool positive = number > 0;
bool negative = number < 0;
Example 2: find negative version of integer in c#
myInt = myInt * -1
bool positive = number > 0;
bool negative = number < 0;
myInt = myInt * -1