Changes

Jump to: navigation, search

Sscalculation

765 bytes added, 15:09, 11 March 2009
no edit summary
Sscalculation is a new [[Variable|variable]] syntax for [[Web Page View Field|Web Page Views]], Store Value - System [[Variables]], Read Only - System [[Variables]].

This works similar to sslogic but will do calculations based on the formula you provide. It works as follows:

<!--@sscalculation(@field@*0.05)-->

This will return the computed value of @field@*0.05 and replaces the sscalculation tag.

This way you can do calculations right on the [[Web Page View Field|web page views]] without having to use javascript which solves the problem on PDF and javascript.

This method uses MySQL syntax, so you can do any MySQL functions like concat(...), format(...), round(...), etc.<br>

[[Category:Enhancements]][[Category:Global Settings]][[Category:Variables]]
4,401
edits

Navigation menu