The negative numeric value I'm getting from the back-end application is formatted according to our internal configuration (UI user profile). In other words, for value -23.79879 my xml input may be
<myNumber>-23.79879</myNumber> or <myNumber>23,79879-</myNumber> or other
and I can't turn the formatting off.
The assumption is that the formats are "standard", normally used for localization.
I'm looking to do something like:
convertStringToNumber(numberString, formatString, slignPosition)
-2,123.79879(,= thousands separator) or-2.123,79879(.= thousands separator)? If they can, then you'll have to make an assumption if only one of the symbols (,or.) is present and happens to be in a valid location for either (such as1,234, which could be "one and 234 hundreths" or "one thousand two hundred and thirty-four").