Calc Test Page: Difference between revisions

From Distillers Wiki
Jump to navigation Jump to search
(Saving work for the night)
 
No edit summary
Line 9: Line 9:
   Testing to see if "expr" can use variables. It should. I think the issue is that the Vars aren't being defined properly so the equation fails.  
   Testing to see if "expr" can use variables. It should. I think the issue is that the Vars aren't being defined properly so the equation fails.  
UJ - It looks like the "Variables" module needs to be loaded. See : https://www.mediawiki.org/wiki/Extension:Variables Installation
UJ - It looks like the "Variables" module needs to be loaded. See : https://www.mediawiki.org/wiki/Extension:Variables Installation
SMY - I enabled the "variables" extension - UJ


-->
-->

Revision as of 19:56, 14 November 2022

Sample code test Calc e^43 = 4.7278394682294E+18

Simple Math test Calc2 2*3 = 6




3

Using Variables test calc3 Expression error: Unrecognized punctuation character "[".
Using Variables test calc4 Expression error: Missing operand for *.
Using Variables test calc5 Expression error: Unrecognized word "x".

3 3


<?php echo(pi()); ?>




Links to useful pages
https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions
https://www.mediawiki.org/wiki/Extension:Variables