double (class)

From Moondust Wiki
Jump to navigation Jump to search

double is a floating point number type.

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

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

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