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

Re: st: list if r==0.01 not working

From   Neil Shephard <>
Subject   Re: st: list if r==0.01 not working
Date   Fri, 26 Sep 2008 11:20:43 +0100

Paul O'Brien wrote:
i am sure there is a very simple answer but i can't find it - i have searched!

r is a float

. list if r==0.01


list if r == float(0.01)

Its all to do with precision, see -man datatypes- which has an explicit example of this situation ( There is also an FAQ at


This message may contain confidential and privileged information.
If you are not the intended recipient you should not disclose, copy
or distribute information in this e-mail or take any action in reliance
on its contents. To do so is strictly prohibited and may be unlawful.
Please inform the sender that this message has gone astray before
deleting it. Thank you.

2008 marks the 60th anniversary of the NHS. It's an opportunity to pay
tribute to the NHS staff and volunteers who help shape the service, and
celebrate their achievements.

If you work for the NHS and would like an NHSmail email account, go

* For searches and help try:

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