Re: Re: PHP Brain Teasers

From: Date: Tue, 03 Jul 2007 19:54:01 +0000
Subject: Re: Re: PHP Brain Teasers
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-258190@lists.php.net to get a copy of this message
On 7/3/07, Robert Cummings <robert@interjinn.com> wrote:
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. --
Aah, nvm, it was wrong anyway ;) Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

« previous php.general (#258190) next »