Talk:Fmod

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

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