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
How do I round floats up?
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#3
RE: How do I round floats up?

(05-25-2012, 06:29 PM)Your Computer Wrote: The code given in this post do what you have done and expect to do, so there may not be any other (simple) way.
Thank you! Smile
However, Geany suggests roundf() (and round() and roundl() ), as these are valid C functions (as listed in the c99.tags file). If I were to make an angelscript.tags file instead, where would I find a good reference of all the valid tags?

Edit:
Nevermind. I think I found a list here:
http://www.angelcode.com/angelscript/sdk...words.html

Edit 2:
Actually, the c99.tags file only contains C functions, not keywords, so simply removing c99.tags from the folder, will get rid of that annoyance.

Noob scripting tutorial: From Noob to Pro

(This post was last modified: 05-25-2012, 10:39 PM by Cranky Old Man.)
05-25-2012, 07:12 PM
Find


Messages In This Thread
How do I round floats up? - by Cranky Old Man - 05-25-2012, 05:21 PM
RE: How do I round floats up? - by Your Computer - 05-25-2012, 06:29 PM
RE: How do I round floats up? - by Cranky Old Man - 05-25-2012, 07:12 PM
RE: How do I round floats up? - by Apjjm - 05-25-2012, 07:29 PM
RE: How do I round floats up? - by Cranky Old Man - 05-25-2012, 07:43 PM



Users browsing this thread: 1 Guest(s)