Dota 2 Wiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Lua logo
This is the documentation page for Module:Calculate.
It contains usage information, categories and other content that is not part of the original module page.
Reality Rift icon
▶️ Planeshift.
The documentation for this module can be found at Template:Calculate.
You may be forwarded to another wiki language, in case a translation is not available.

Tests

YesY All tests passed.

Name Expected Actual
YesY test_non_substituted_expression
YesY test_non_substituted_expression_with_percentage
YesY test_non_substituted_expression_with_round
YesY test_non_substituted_expression_with_round_at_end
YesY test_percentage_in_main_expression
YesY test_percentage_in_v_value
YesY test_percentage_output_percentage_in_both
YesY test_percentage_output_percentage_in_expression
YesY test_percentage_output_percentage_in_v
YesY test_substituted_expression_1v
YesY test_substituted_expression_2v
YesY test_substituted_expression_3v
YesY test_substitution_1v
YesY test_substitution_2v
YesY test_substitution_3v
Advertisement