How do you set a double value to a "non-value"
- by Ankur
I have two double data elements in an object.
Sometimes they are set with a proper value and sometimes not. When the form field from which they values are received is not filled I want to set them to some value that tells me, during the rest of the code that the form fields were left empty.
I can't set the values to null as that gives an error, is there some way I can make them 'Undefined'.
PS. Not only am I not sure that this is possible, it might not also make sense. But if there is some best practice for such a situation I would be keen to hear it.