Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What does the 'f' do in a script when behind a float?
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#2
RE: What does the 'f' do in a script when behind a float?

It's just used to state the number is a float. So if you have a float number parameter, if it's not an integer, you'll have to put an f in the back. Ex: 3.1f, 4.5f, etc.

At least I'm pretty sure that's it. Doesn't make sense either since the float is already called...
04-15-2011, 06:16 PM
Find


Messages In This Thread
RE: What does the 'f' do in a script when behind a float? - by MrBigzy - 04-15-2011, 06:16 PM



Users browsing this thread: 2 Guest(s)