double (class)

From Moondust Wiki
Revision as of 12:38, 2 March 2017 by Fun2 (talk | contribs) (Formating change on the word "Double".)
Jump to navigation Jump to search


Double is a floating point number type.

Double is a not Lua-used type. It is only provided as hardcoded argument for several functions.

This argument-type is based on the Lua-type number.

local pi = 3.14
local myRectd = newRECTd()
myRectd.top = pi
myRectd.left = pi
myRectd.bottom = pi + 5.20
myRectd.right = pi * pi
--Do other stuff