Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] [subtotal] error



******    message to minivend-users from "Dan E. Jackson III" <danny@intermallamerica.com>     ******

Okay, I've been working with this for three days now and I'm stuck.  My
subtotal is mysteriously adding a penny to itself, even after I've put
in some truncating code:

[discount ALL_ITEMS] ((int ($s * .7 * 100)) / 100) [/discount]

For single items, this works great.  But if I change the qty. of the
item, say I want two bells and one whistle, then I hit recalculate and
the math goes bad, usually by a penny.  It seems to me that when I hit
recalcualte, the discount is done but with out using the int I put
there.  Does anyone have any ideas?  I'm using mv 3.14-5 by the way.  

Thanks,
danny
Intermallamerica.com
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: