mcga (version 3.0.3)

DoubleToBytes: Byte representation of a double typed variable

Description

This function returns a vector of byte values with the length of sizeof(double) for a given double typed value

Usage

DoubleToBytes(x)

Value

A vector of byte values with the length of sizeof(double) for a given double typed value

Arguments

x

A double typed value

Author

Mehmet Hakan Satman - mhsatman@istanbul.edu.tr

See Also

DoubleVectorToBytes

BytesToDouble

ByteVectorToDoubles

Examples

Run this code
print(DoubleToBytes(56.43))

Run the code above in your browser using DataCamp Workspace