Are you looking for for running some mathematical function in business central then may be this blog post is interesting for you.
In business central new system code unit is provided to execute some important mathematical function.
Build one simple page to show few expressions as below
One can determine following values from this codeunit.
|Pi||Returns the value of pi.|
|E||Returns the value of E.|
|Abs||Returns the absolute value of a Decimal number.|
|Acos||Returns the angle whose cosine is the specified number.|
|Asin||Returns the angle whose sine is the specified number.|
|Atan||Returns the angle whose tangent is the specified number.|
|Pow||Returns a specified number raised to the specified power.|
|SQRT||Returns the square root of a specified number.|
|Floor||Returns the largest integral value less than or equal to the specified decimal number.|
|Exp||Returns e raised to the specified power.|
|Ceiling||Returns the smallest integral value that is greater than or equal to the specified decimal number.|
Hopefully you find this helpful to you.
Stay tuned for more updates.