Helper class for doubles