Math.modf

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
BlackNecro (Talk)
(New page: {{LuaFunction |function_name = math.modf |arguments = number Number |returns = number IntegralPart, number FractionalPart |description =...)

Latest revision as of 00:52, 15 February 2009

Function
Syntaxmath.modf( number Number )
Description:
Returns two numbers, the integral part of x and the fractional part of x.
Returnsnumber IntegralPart, number FractionalPart




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!