## Functions - Math Functions

Declaration:  RoundUp(Val: Double): Integer Rounds the given Val up to the nearest integer. Source Code: Result := RoundUp(10.36); // Returns 11
Wed, 27 Jan, 2016 at 8:06 PM
Declaration:  ParallelLine(p1x, p1y, p2x, p2y, Distance: Double; var p3x: Double; var p3y: Double; var p4x: Double; var p4y: Double); Calculates the points ...
Thu, 28 Jan, 2016 at 6:43 AM
Declaration:  RoundToNearest(Val, Precision: Double): Double; Rounds the given value down to the nearest value as defined by precision. Source Code: Res...
Thu, 28 Jan, 2016 at 6:44 AM
Declaration:  DistanceFromLine(p1x, p1y, p2x, p2y, p3x, p3y: Double): Double; Returns the distance of a point given by p3 is from a line, given by p1 and p2...
Thu, 28 Jan, 2016 at 6:45 AM
Declaration:  DistanceBetweenPoints(p1X, p1Y, p2X, p2Y: Double): Double; Returns the distance between 2 points specified by p1 and p2 coordinates. Source ...
Thu, 28 Jan, 2016 at 6:45 AM
Declaration:  GetIntersectPoint(p1x, p1y, p2x, p2y, p3x, p3y, p4x, p4y: Double; var p5x: Double; var p5y: Double): Integer; Calculates at what point Line 1,...
Fri, 25 Mar, 2016 at 12:12 PM
Declaration:  RoundDown(Val: Double): Integer; Rounds the given value down to the nearest whole number. Source Code: Result := RoundDown(10.36); // retu...
Thu, 28 Jan, 2016 at 6:47 AM
Declaration:  Pi: Double; Returns the numeric value for Pi (3.1415926535897932384626433832795). Source Code: result := pi;
Thu, 28 Jan, 2016 at 6:47 AM
Syntax ? code Function: DecToEnglish(Feet: Double): String; Description Converts a given dimension into it's ...
Mon, 4 Apr, 2016 at 11:27 AM
Declaration:  ExtendLine(p1x, p1y, p2x, p2y, Distance: Double; var p3x: Double; var p3y: Double; var p4x: Double; var p4y: Double); Calculates the points to...
Thu, 28 Jan, 2016 at 6:50 AM