MiniVend Akopia Services

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

RE: [mv] [calc] problems [/calc]



Try parens instead of square brackets to inclose the subtration also try
noformat and see if that works.

 [calc noformat] ([item-field price1] - [item-field price2]) / [item-field
price1][/calc]

hope this helps,
mike k.

> -----Original Message-----
> From: owner-minivend-users@minivend.com
> [mailto:owner-minivend-users@minivend.com]On Behalf Of Stan Crump
> Sent: Friday, November 19, 1999 8:21 PM
> To: minivend-users@minivend.com
> Subject: [mv] [calc] problems [/calc]
>
>
> ******    message to minivend-users from "Stan Crump"
> <stanc@amintech.com>     ******
>
> Hi, group!
>
> Using MiniVend V3.14-3...
>
> I need to subtract price2 from price1 and then divide the
> results by price1.
> Can anyone tell me why the following doesn't work?  (or,
> better yet, how it
> can be done)
>
>
> [calc][[item-field price1] - [item-field price2]] / [item-field
> price1][/calc]
>
>  : )
>
> Thanks!
>
>        - Stan
>
> -
> 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: