[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Rounding up numbers inside [calc]
****** message to minivend-users from "Gideon van Gelder" <gideon@swingmaster.nl> ******
Hi,
You can accomplish this with locale, either by changing your
settings for the default currency and surrounding the calc with
[currency][/currency], or simply make a new locale, named
whatever and specify all variables the way you want them:
this is both in the demo and the docs.
Good luck,
-Gideon
> ****** message to minivend-users from "Tal Hart (TelNET)"
<tal@telnet.co.il> ******
>
> I would like to round up the result of a [calc] operation to display only
2
> digits after the decimal point,
> I.E. instead of showing 45.336473828 i want it to display 45.33
>
> I know the INT command, which round up to the full number,
> but how can i ask it to keep X digits after the point ???
>
>
>
> Tal Hart
> =============================================================
> TelNET Communication
> Tel # + 972-9-8859919 Fax # +972-9-88598929
> Address : Office - 10 giborey israel, New industrial area,Netanya
> Post Adress : 2 Gur st. , Ramat Poleg , Netanya , ISRAEL , 42000
> E-mail : tal@telnet.co.il Web : www.telnet.co.il
> =============================================================
>
>
> -
> 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
-
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