Zoomed Image

AMSX Scripting Language - Command : CalculateNumber

Summary

Evaluate a numeric expression and return the numeric result

Description

Evaluates the given numeric expression using the .NET DataTable Compute engine. Unlike Calculate, this strips surrounding quotes and requires a pure numeric expression.

Parameters

ParameterDescription
cmdnumeric expression to evaluate

Syntax


CalculateNumber "numeric expression to evaluate"

Return to the AMSX Command Reference