set value with double