Re: negative number as text or string, take 2
Re: negative number as text or string, take 2
- Subject: Re: negative number as text or string, take 2
- From: Michelle Steiner <email@hidden>
- Date: Wed, 31 Jan 2001 11:27:36 -0800
On 1/31/01 10:46 AM, Aaron Solomon (ben Saul Joseph) Adelman
<email@hidden> wrote:
>
log the estimate of risk_difference(1, 2, 3, 4, 0.05) as text
>
>
on risk_difference(dis_and_exp, dis_and_not_exp, ,
>
not_dis_and_exp, not_dis_and_not_exp, alpha)
>
set r_d to -0.083333333333
>
return new_rate_result(r_d, 1, 1, true)
>
end risk_difference
>
>
on new_rate_result(r, c1, c2, v)
>
script rate_result
>
property estimate : r
>
property low_bound : c1
>
property high_bound : c2
>
property validity : v
>
end script
>
return rate_result
>
end new_rate_result
I get (*-0.083333333333*) where the asterisks are really asterisks
Removing the log, and seeing the result in the result window, I get
"-0.083333333333" (with the quotes).
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------