Re: Re: PHP Brain Teasers
| From: | Robert Cummings | Date: | Tue, 03 Jul 2007 19:53:07 +0000 |
| Subject: | Re: Re: PHP Brain Teasers | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258189@lists.php.net to get a copy of this message | ||
On Tue, 2007-07-03 at 21:41 +0200, Tijnema wrote:
> On 7/3/07, Robert Cummings <robert@interjinn.com> wrote:
> > On Tue, 2007-07-03 at 15:26 -0400, Robert Cummings wrote:
> > > On Tue, 2007-07-03 at 20:18 +0100, Colin Guthrie wrote:
> > > > Jay Blanchard wrote:
> > > > > [snip]
> > > > > if($x == 0.01 || $x == 1.0){
> > > > > $y = "in";
> > > > > }
> > > > > [/snip]
> > > > >
> > > > > Anyone?
> > > >
> > > >
> > > > I'm struggling.....
> > >
> > > I'm not getting any lightbulbs either :/
> >
> > Best I can think currently is "In dollars and cents".
> >
> > Cheers,
> > Rob.
>
> I would write that as "In cents or dollars".
The union formed by the or operator creates a set that includes both. As
such when describing the set one would use "and".
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'