Bouble to bytes [] java

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