MiniVend Akopia Services

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

AW: error when subtotal > 1000



******    message to minivend-users from "=?iso-8859-1?Q?Markus_M=FCller?=" <mueller@ass-software.de>     ******


Well I tried it the following way:

in config:

locale de_DE mon_decimal_point ,

and in basket:

[setlocale de_DE]
...
[setlocale]

But then Minivend got crazy and calculated completly wrong.
An example:

[subtotal] output -> 980,00
[calc][subtotal]+10[/calc] output -> 1400,00 !!!


The error I have described in my first mail occured when
using a . as decimal separator. So that this can't be
the reason for it...

I think I will read through "internationalization" in the
manual another time, maybe I missed something....

Markus



> 
> If that's the cause, and it does make sense, then you can fix it
> by changing locales.
> 
> [setlocale en_US]
> do your calc stuff here
> [setlocale]
> 
> The second setlocale will restore your default locale.
> 
> Dan

-
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: