DBLB real-valued function DBLB real-valued function Syntax DBLB ($string, first_char ) Function Return the value of eight bytes of a string interpreted as an IEEE double-precision floating- point number. Parameters $string String expression that contains the eight bytes to be converted. first_char Optional real-valued expression that specifies the position of the first of the eight bytes in the string. If first_char is omitted or has a value of 0 or 1, the first eight bytes of the string are extracted. If first_char is greater than 1, it is interpreted as the character position for the first byte. For example, a value of 2 means that the second through ninth bytes are extracted.
If first_char specifies eight bytes that are beyond the end of the input string, an error is generated . Details Eight sequential bytes of the given string are interpreted as being a double-precision (64-bit) floating-point number in the IEEE standard format. This 64-bit field is interpreted as follows: where s is the sign bit, s = 0 for positive, s = 1 for negative. exp is the binary exponent, biased by -1023. fraction is a binary fraction with an implied 1 to the left of the binary point. eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 144