[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: destring var, replace dpcomma

From   "Olga Lyashevska" <>
Subject   st: destring var, replace dpcomma
Date   Sun, 20 Apr 2008 20:47:41 +0200 (CEST)

Dear List,

My data contains comma's as decimal points.
It looks like:

 RMR     EV      T
5,48    6,1   12,7
6,13      6   12,7

I want to destring it and replace comma with a period.
I have tried the following but it doesnt work. I get an error r198
'Invalid syntax'.

destring RMR, replace dpcomma

Could you suggest anything?

Thanks in advance,

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index