Zen Cart Logo
Forums / General Questions / Simple maths

Simple maths

Locked

Views: 1,222

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
31 May 2006, 10:10
#1
ink avatar

ink

Zen Follower

Join Date:
Jul 2004
Posts:
140
Plugin Contributions:
0

Simple maths

Hi

If:

$maths = ">90";

How do I write the calculation for 'greater than 60 but less than 90'?

Regards

Guy

31 May 2006, 13:01
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Simple maths

if ($math > 60 and $math < 90)