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