in reply to Re^2: numbers in parentheses not considered numeric values??
in thread numbers in parentheses not considered numeric values??
As the Anonymous Monk mentioned, in your code. Different sources of data may have different quirks, so you need to know about your data source to figure out the best way to clean up the data. You want to be careful with your fixes, though, to make sure you make the appropriate conversions.
For example, in some accounting reports, parenthesis around a number may indicate that it's negative value rather than positive. Other systems may include commas, currency symbols or other formatting information. Yet other systems use a trailing sign on the data. Once you find out all the quirks, you shouldn't have too much trouble writing an appropriate subroutine to clean up and convert the data to the form you need.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|