Calculations Form Demo

Attention: Please use your valid email address. This script will send the results of the processing to the entered email.

    * - required fields
     
*Name:  
Company Name:  
*Contact eMail:  
 
Number will be divided by 2
{# Number / 2 #}
     
Number:  
 
Will add up numbers and multiply them by the tax rate
{# ( NumberA + NumberB + NumberC ) * TaxRate #}
     
NumberA:  
NumberB:  
NumberC:  
TaxRate:  
 

Conditional Function (ifcond Function).
{#ifcond (( expr1 ), ( expr2 ), ( expr3 ))#}
- this expression evaluates and prints result of expr2 if expr1 evaluates to TRUE, and expr3 if expr1 evaluates to FALSE.

Please enter Number1 and Number2. For example if you will enter Number1 = 125 and Number2 = 100 will evaluates expression {#ifcond(( Number1 > Number2 ), ( Number1 + 10 ), ( Number2 ))#} and result will be 135

     
Number1:  
Number2:  

Ordering Cost Depending on the Size of the Order Quantity (using ifcond Function).
Your product has set prices per item that go down whenever they reach a certain amount.
1 or 4 items: $19.95 each
5 or 9 items: $15.95 each
10 to 19 items: $12.95 each
>= 20 items: $9.99 each
You want to calculate total ordering cost depending on the size of the order quantity.

Please enter order quantity. {#ifcond(( Number1 > Number2 ), ( Number1 + 10 ), ( Number2 ))#} and result will be 135

     
Quantity:  


© 2000-2010 Email-Form.com All Rights reserved.
Powered by Web-Site-Scripts.com