Java Utililty Methods Double Convert to

List of utility methods to do Double Convert to

Description

The list of methods to do Double Convert to are organized into topic(s).

Method

shortdouble2short(double d)
doubleshort
return (short) (((long) d << 48) >> 48);
Stringdouble2sortableStr(double val)
doublesortable Str
long f = Double.doubleToRawLongBits(val);
if (f < 0)
    f ^= 0x7fffffffffffffffL;
return long2sortableStr(f);