Revision d719f12f
Added by Assos Assos over 8 years ago
drupal7/sites/all/modules/views/handlers/views_handler_field_math.inc  

26  26 
$form['expression'] = array( 
27  27 
'#type' => 'textarea', 
28  28 
'#title' => t('Expression'), 
29 
'#description' => t('Enter mathematical expressions such as 2 + 2 or sqrt(5). You may assign variables and create mathematical functions and evaluate them. Use the ; to separate these. For example: f(x) = x + 2; f(2).'),


29 
'#description' => t("Enter mathematical expressions such as 2 + 2 or sqrt(5). You may assign variables and create mathematical functions and evaluate them. Use the ; to separate these. For example: f(x) = x + 2; f(2). The result of the previous row's mathematical expression can be accessed by using the [expression] token itself."),


30  30 
'#default_value' => $this>options['expression'], 
31  31 
); 
32  32 
Also available in: Unified diff
Weekly update of contrib modules