Sign in
|
Join
|
Help
in
Current Tags
(Entire Site)
DevPinoy.org
A Filipino Developers Community
Home
Blogs
Media
Forums
Groups
DevCast
All Tags
»
TIPS
»
C
(RSS)
ATTENTION
:Take our Code Challenge for the month of October 2008 and win some great prize! Learn more about it
here
!
Browse Blog Posts by Tags
Showing related tags and posts for the
Blogs
application. See
all tags in the site
.NET
C#
The (-) operator
I used to multiply a numeric number to -1 just to get its additive inverse (negative value for positive numbers) and I found out that the (-) operator does it implicitly. int value = 10 int negativeValue = value * -1 int negativeValueAlso = -value
Posted to
jokiz
by
jokiz
on 04-28-2005
Filed under:
Filed under:
.NET
,
tips
,
C#
,
C
Page 1 of 1 (1 items)
Copyright DevPinoy 2005-2008