Welcome, Guest.
Username: Password: Remember me

TOPIC: F

F 1 year 7 months ago #1

Please what means "F" behind values in GemFX settings ?
The administrator has disabled public write access.

F 1 year 7 months ago #2

Crosire help :D
The administrator has disabled public write access.

F 1 year 7 months ago #3

I am pretty sure 'f' means a float value. Just ignore it and put the number you want in front of the 'f'. I.E. 1.0f, 7f, 20f.


Witanlore: Dreamtime
The administrator has disabled public write access.

F 1 year 7 months ago #4

and what happens when I remove "F" ?
The administrator has disabled public write access.

F 1 year 7 months ago #5

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2437
  • Thank you received: 1384
Nothing. It's syntactic sugar, usually to differentiate between single precision floating point numbers and double precision floating point numbers. But since there are no doubles here, it's superfluous and just there for developers who are familar with the concept.
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: Prodousier

F 1 year 7 months ago #6

  • Cloudbill
  • Cloudbill's Avatar
  • Offline
  • Posts: 33
  • Thank you received: 1
LOL, at first glance I thought you were calling Prodousier "sugar" :P . Off topic, I know....sorry.
The administrator has disabled public write access.