private double convertStorageUnit ( double value , StorageUnit sourceUnit , StorageUnit targetUnit ) { double byteValue = sourceUnit . toBytes ( value ) ; return targetUnit . fromBytes ( byteValue ) ; }
convert the value from one storage unit to another .