Recognizing both decimal separators (,.)
Posted on 2011-06-20
Currently I need to send software generated data files to countries with decimal separators other than my own. Delphi (Windows) does not handle this transparently. Is there a way to force the VCL (StrToFloat, etc) to handle EITHER ',' or '.' as a separator? I'd rather not have to do the conversions explicitly in my code, or create multiple country-speciific data files. Thanks in advance for your help.