Groups | Search | Server Info | Login | Register
Groups > comp.soft-sys.sas > #895
| From | Bruno Müller <bruno.mueller@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.sas |
| Subject | Re: informat for "£12,345.67" |
| Date | 2011-06-09 23:52 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <3d21fc6f-1b1e-409c-9af9-1ca6de0bfcb6@b21g2000yqc.googlegroups.com> (permalink) |
| References | <c3f18aa1-bac7-491d-b18f-d4dc3455fd44@d28g2000yqf.googlegroups.com> |
On Jun 9, 10:08 pm, GuyA <guya.carpen...@gmail.com> wrote:
> Very simple (and stupid) question:
>
> String as follows (includes quotes): "£12,345.67"
>
> What informat do I need to read that in from an external text file?
>
> Thanks.
Try code below, it uses the NLMNY informat together with the proper
language and region setting for LOCALE system option
options locale = en_gb;
data test;
infile cards ;
input
number nlmny20.
;
putlog _all_;
cards;
£12,345.67
;
Back to comp.soft-sys.sas | Previous | Next — Previous in thread | Next in thread | Find similar
informat for "£12,345.67" GuyA <guya.carpenter@gmail.com> - 2011-06-09 13:08 -0700
Re: informat for "£12,345.67" Bruno Müller <bruno.mueller@gmail.com> - 2011-06-09 23:52 -0700
Re: informat for "£12,345.67" GuyA <guya.carpenter@gmail.com> - 2011-06-10 07:17 -0700
Re: informat for "£12,345.67" Sas-k <sashi1985@gmail.com> - 2011-06-11 04:00 -0700
csiph-web