Field-Map Scripting

4.1.7.13 GetBitOfDouble

GetBitOfDouble function


Prototype:

function GetBitOfDouble (const DoubleVar :double; const Bit :byte {0..63}) :byte {0/1}

Description:


Syntax:

variable := GetBitOfDouble(Value, Bit);


Part

Description


variable

variable declared as byte


Value

number, the bits we want to get


Bit

number of the bit from which the value is to be read {0..7}




Return value:

0/1



See also:                

String2Float; Variant2Float; Variant2Integer; Variant2String; String2Variant; Boolean2Integer; Date2Integer; Integer2Date; Int2Hex; IntToHex; GetBitFromLastThreeDigits;

SetBitOfDouble; GetBitOfDouble; SetBitOfInteger;  GetBitIfInteger; SetBitOfBigInt;  GetBitOfBigInt