R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
negatives with MATH
Last Post 02 Mar 2009 12:51 AM by mfnc. 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
mfncUser is Offline
New Member
New Member
Posts:26

--
06 Jan 2009 09:28 PM  
When I use the following, the MATH returns correctly:

{MATH, (20 - 20) / 20}

Returns the result : 0.5

However, when the first part of the calculation returns a negative, as in:

{MATH, (10 - 20) / 10}

The following result is returned:

-10 / 10

Is is not possible to use the MATH tag with negative numbers?

TIA

-mike
mfncUser is Offline
New Member
New Member
Posts:26

--
06 Jan 2009 09:34 PM  
CORRECTION:

The first calculation should have read:

{MATH, (20 - 10) / 20}
mfncUser is Offline
New Member
New Member
Posts:26

--
02 Mar 2009 12:51 AM  
Any ideas on this one?

Thanks.
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share