This function converts the given string data to a double representation.
Available suffixes are:
megabytes
gigabytes
terabytes
Returns
Returns a string representation of the given data (or -1 if an error
occurred). In case of error, the program will croak() with an appriopriate message.