readDouble

[ Function ]

public readDouble(): number;

Reads eight bytes and interprets them as floating point number with an accuracy of 16 significant digits. The read pointer is advanced by eight bytes.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

number

The read double value

Sample - JavaScript

var reader = new TcHmi.Base64BinaryReader('GC1EVPshCUA=');
var result1 = reader.readDouble(); // 3.141592653589793
readDouble 1:

Available from version 1.10