View Full Version : What is this .f
07-09-2004, 03:56 AM
I keep on seeing things, flaot values, being assigned in default propeties or otherwise to values like
WHAT IN THE WORLD IS THIS DAMN F DOING THERE!
07-09-2004, 04:30 AM
in order for floats to be floats (in code) they have to have a decimal. when programmers get lazy, they write 10.f and that casts to a float. there are probably more. in java this is the normal way to cast to a float.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.