Bouble to Bytes [] Java

double num;
byte[] bytes = String.valueOf(num).getBytes();
Sistrometic