Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Importing numbers with comma as decimal point
Message
From
11/01/2008 07:13:26
 
 
To
11/01/2008 06:59:05
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01281084
Message ID:
01281088
Views:
7
Because most likely more fields are involved, some of them may be normal text.
BTW, Why notepad?
lcFile='yourfile'
StrToFile(Chrtran(FileToStr(lcFile),',','.'),lcFile)
>Why don't you replace in text file "," with "." in Notepad?
>
>>Hi,
>>
>>I'm having trouble importing a text file with prices using , (comma) instead of . (point) as decimal point.
>>
>>SET POINT TO "," before APPEND FROM ... does not work.
>>
>>Does anyone have an idea?
>>
>>Regards,
>
>
>>Hi,
>>
>>I'm having trouble importing a text file with prices using , (comma) instead of . (point) as decimal point.
>>
>>SET POINT TO "," before APPEND FROM ... does not work.
>>
>>Does anyone have an idea?
>>
>>Regards,
Previous
Reply
Map
View

Click here to load this message in the networking platform