Difference between revisions of "Talk:Fmod"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Quetzilla
(offset parameter?)
 
imported>Khrabanas
(Working?)
 
Line 2: Line 2:


I'm really not clear on what offset does/is supposed to help with.  Could someone clear that up? [[User:Quetzilla|Quetzilla]] 17:42, 13 April 2008 (EDT)
I'm really not clear on what offset does/is supposed to help with.  Could someone clear that up? [[User:Quetzilla|Quetzilla]] 17:42, 13 April 2008 (EDT)
== Working? ==
Does not appear to be working in OBSE v0014 (gives me 0 when used with floats).  The equation in the description works fine if you break it up into two lines:
set fStep to fN / fBase
set fFinal to fN - fBase * Floor fStep

Latest revision as of 19:30, 1 July 2008

offset parameter?[edit source]

I'm really not clear on what offset does/is supposed to help with. Could someone clear that up? Quetzilla 17:42, 13 April 2008 (EDT)

Working?[edit source]

Does not appear to be working in OBSE v0014 (gives me 0 when used with floats). The equation in the description works fine if you break it up into two lines:

set fStep to fN / fBase
set fFinal to fN - fBase * Floor fStep