User Tools

Site Tools


Sidebar

Software

calc

Table of Contents

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)