User Tools

Site Tools


calc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

calc [2019/12/17 12:13] (current)
Line 1: Line 1:
 +====== calc ======
 +----
 +calc - Perform math operation
 +
 +
 +===== Description =====
 +  calc("​$math"​)
 +  ​
 +This function returns a string
 +
 +
 +===== Parameters =====
 +** $math **\\
 +The string that you want to calculate
 +
 +===== Examples =====
 +  $result=calc("​2+3*4-5"​)
 +  alert($result)
  
calc.txt ยท Last modified: 2019/12/17 12:13 (external edit)