Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2011-02-14 11:58:56
- element
- Member
- Registered: 2009-11-18
- Posts: 99
Calculating numbers
Hi,
I’m using aks_var plugin to calculate prices. But I get results with 5 or more decimals. Is there a way to limit the decimals or round the number?
Offline
#2 2011-02-14 12:09:33
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: Calculating numbers
lmgtfy:
The introductory post of the aks_var topic says:
round ‘2’ Round value (number of digits after the decimal point)
Happy rounding!
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#3 2011-02-14 12:18:41
- element
- Member
- Registered: 2009-11-18
- Posts: 99
Re: Calculating numbers
I was already looking into adi_calc, but that doesn’t do complicated calculations I think.
Ha, thanks uli! round is not mentioned under the Info link in Plugins in TXP. Damn you, aks.
Offline
Pages: 1