DevPinoy.org
A Filipino Developers Community
Sign in
|
Join
|
Help
Home
Blogs
Media
Forums
Groups
DevCast
All Tags
»
Tips
»
C
(RSS)
Browse Site by Tags
Showing related tags and posts accross the entire 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
(Weblog)
by
jokiz
on 04-28-2005
Page 1 of 1 (1 items)
Copyright DevPinoy 2005-2008