Author: Robert Sample
Posted: Tue Jun 20, 2017 10:44 am (GMT 5.5)
If the value can have a sign, you would need to add '+' and '-' to the user-defined class. Properly defined, that is one way to validate your data.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth
Posted: Tue Jun 20, 2017 10:44 am (GMT 5.5)
If the value can have a sign, you would need to add '+' and '-' to the user-defined class. Properly defined, that is one way to validate your data.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth