Thread: Simple maths

Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    167
    Plugin Contributions
    0

    Default Simple maths

    Hi

    If:

    $maths = ">90";

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

    Regards

    Guy

  2. #2
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Simple maths

    if ($math > 60 and $math < 90)
    Neville
    An assumption is what you arrive at when you get tired of thinking...

 

 

Similar Threads

  1. Incorrect Maths?
    By Wingz in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 13 Jul 2009, 06:22 AM
  2. Simple Hyperlinking
    By bettsaj in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 19 Jan 2009, 07:22 PM
  3. so simple....
    By asdf12 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Sep 2008, 11:02 PM
  4. Simple Simple Simple
    By utomo in forum General Questions
    Replies: 0
    Last Post: 28 Apr 2008, 06:30 PM
  5. Simple?
    By Dandy_Don in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 20 Jan 2007, 04:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR