This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "Talk:Ceil"

Jump to navigation Jump to search
621 bytes added ,  15:07, 21 August 2006
explanation
imported>JOG
imported>DragoonWraith
(explanation)
Line 51: Line 51:
:''3 / 1.9'' = 1.58 => ceiled to ''2''
:''3 / 1.9'' = 1.58 => ceiled to ''2''
:2 * ''2'' = '''4'''
:2 * ''2'' = '''4'''
::[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=2>D</font>ragoon <font face="Oblivion,Daedric Runes" size=2>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 15:07, 21 August 2006 (EDT): No function (to my knowledge) in Oblivion will take a mathematical expression as an argument, and these mathematical functions, unfortunately, are no different. In order to do this:
set shortvar to ceil ( 11 * floatvar - 5 )
::You would need to do this:
set tempvar to ( 11 * floatvar - 5 )
set shortvar to ceil ( tempvar )
::I don't believe there's any way around that.

Navigation menu