MyLabel.Text =
New
DataTable
().Compute(
"1+1"
,
Nothing
).ToString()
A bare-basic example demonstrating how to parse and evaluate/calculate a math formula from a string such as "1+1", "1/(5*2)", etc.
Element version: 1.0 (Last updated: January 26, 2024)