Make a positive number a negative number in 1 line of C# code - A Quiz(j-dee.com)

submitted by jdeejdee(270) 3 years, 6 months ago

Any other cool ways of making a positive number a negative?

1 comment |category: |Views: 293

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by logantuklogantuk(0) 2 years, 6 months ago 0

There may be a built-in function, if not you could use:

myInt = (myInt - (myInt * 2));

:D

Reply

information Login or create an account to comment on this story