Updated scale to work with floating point values. #36