«« Next » « Previous
«« Next » « Previous

Link Details

Lumbergh says: "If you voted, that would be greeaaaattt!" Login and vote now.
Link 72606 thumbnail

By shaharab
via devmuse.com
Published: Mar 26 2008 / 03:54

Casting float to int is interesting. Not only it causes the value to get truncated, but it also changes binary representation. When you want to cast float to int you have two options:
  • 17
  • 0
  • 1723
  • 196

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.