MiniVend Akopia Services

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

Re: [calc] question...



Bruno Cappello wrote:
> 
> ******    message to minivend-users from "Bruno Cappello" <cappello@weblane.fr>     ******
> 
> Hello All,
> 
> I have a question concerning the [calc] tag...
> >From within a form    VALUE=[total-cost]    works just fine.
> 
> However, I was looking to eliminate the decimals in order to have a whole
> number... (ie. multiply [total-cost] by 10)
> 
> When we put the following line in the result is O...
> we can't understand why :
> 
> VALUE=[calc] [total-cost] operation_of_your_choice [/calc]
>

[total-cost noformat=1]

Chris 
> More simply :
> 
> VALUE=[calc] [total-cost] [/calc]
> 
> Shouldn't the value of [total-cost] be returned?
> The value returned is "0".
> 
> Can anyone explain what I'm doing wrong?
> 
> In advance, many thanks.
> Bruno-
> 
> Fortune of the day :
> Meta Murphy's law :
>     We can't use Murphy's law because it can't work.
> -
> 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: