Double

64-bit double-precision floating-point number.

xxml
Language::Core

Methods

MethodParametersReturnsDescription
ConstructorDouble^Create Double (0.0)
Constructorvalue: doubleDouble^Create from literal
addother: Double^Double^Addition
subtractother: Double^Double^Subtraction
multiplyother: Double^Double^Multiplication
divideother: Double^Double^Division
equalsother: Double^Bool^Equality check
lessThanother: Double^Bool^Less than
greaterThanother: Double^Bool^Greater than
toStringString^Convert to string
toIntegerInteger^Truncate to Integer
toFloatFloat^Convert to Float (may lose precision)

Examples

Double Precision

xxml
Instantiate Double^ As <precise> = Double::Constructor(3.141592653589793);
Instantiate Double^ As <result> = precise.multiply(Double::Constructor(2.0));

See Also