Added decimal from double method in value factory