Skip to main content

Frac Method

Returns the fractional part of a real number.

Definition​

Namespace: GHost.GSharp.PI.ACE
Assembly: GHost.GSharp.PI.ACE (in GHost.GSharp.PI.ACE.dll) Version: 1.2.44.3 (1.2.44.3)

C#

public static double Frac(Object value)

VB

Public Shared Function Frac (value As Object) As Double

Parameters​

  Object
A real number.

Return Value​

Double
Fractional part of a real number.

Example​

Frac(1.2) returns 0.2

Frac(-1.455) returns 0.455

See Also​

Reference​

PIACEBIFunctions Class
GHost.GSharp.PI.ACE Namespace