Previous Document Next Document

Including queries in macros : Understanding the available query criteria : Querying double objects


Querying double objects

Double objects support all common query criteria (see Understanding the available query criteria).

Double objects also support the following query criteria:

Query criteria
Description
Example and result
double.Abs()
Returns the absolute value of the double
(-2.5).abs
Yields 2.5
double.ToDegrees()
Converts the value of radians to degrees
pi.ToDegrees
Yields 180.0
double.ToRadians()
Converts the value of degrees to radians
(12.5).ToRadians
Yields 0.218166156499291

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.