Sets a new value represented with a double value.
true if the value was successfully set; otherwise, the method returns false.