Hi,
I have created a "views" and would like to get percentage from the two input values.
There isn't a place that I can put PHP code and I was wondering if is possible to process two "views" values and return an output.

For example,

I have field name regular price '$100' and a you pay '$50'. So the discount is '50%'. How do I calculate this '50%' in views?

thanks

Comments

gbrands’s picture

You can try the View Calc module.

drupalnesia’s picture

There are many ways in Drupal but I suggest to use Views Custom Field, here http://drupal.org/project/views_customfield