### Math functions examples Source: https://github.com/devexpress/dotnet-eud/blob/2026.1/eud-for-devexpress-reports/reporting-for-desktop/report-designer/report-designer-for-winforms/use-expressions/functions-in-expressions.md Examples for each math function listed in the table, showing usage with typical arguments. ```plaintext Abs(1 - [Discount]) ``` ```plaintext Acos([Value]) ``` ```plaintext Asin([Value]) ``` ```plaintext Atn([Value]) ``` ```plaintext Atn2([Value1], [Value2]) ``` ```plaintext BigMul([Amount], [Quantity]) ``` ```plaintext Ceiling([Value]) ``` ```plaintext Cos([Value]) ``` ```plaintext Cosh([Value]) ``` ```plaintext Exp([Value]) ``` ```plaintext Floor([Value]) ``` ```plaintext Log([Value]) ``` ```plaintext Log([Value], 2) ``` ```plaintext Log10([Value]) ``` ```plaintext Max([Value1], [Value2]) ``` ```plaintext Min([Value1], [Value2]) ``` ```plaintext Power([Value], 3) ``` ```plaintext Rnd()*100 ``` ```plaintext Round([Value]) ``` ```plaintext Round([Value], 2) ``` ```plaintext Sign([Value]) ``` ```plaintext Sin([Value]) ``` ```plaintext Sinh([Value]) ``` ```plaintext Sqr([Value]) ``` ```plaintext Tan([Value]) ``` ```plaintext Tanh([Value]) ``` ```plaintext ToDecimal([Value]) ``` ```plaintext ToDouble([Value]) ``` ```plaintext ToFloat([Value]) ``` ```plaintext ToInt([Value]) ``` ```plaintext ToLong([Value]) ``` -------------------------------- ### String function examples Source: https://github.com/devexpress/dotnet-eud/blob/2026.1/eud-for-devexpress-reports/reporting-for-desktop/report-designer/report-designer-for-winforms/use-expressions/functions-in-expressions.md Examples of string functions used in expressions. ```text Ascii('a') ``` ```text Char(65) + Char(51) ``` ```text CharIndex('e', 'devexpress') ``` ```text CharIndex('e', 'devexpress', 2) ``` ```text Concat('A', ')', [ProductName]) ``` ```text Contains([ProductName], 'dairy') ``` ```text EndsWith([Description], 'The end.') ``` ```text Insert([Name], 0, 'ABC-') ``` ```text Len([Description]) ``` ```text Lower([ProductName]) ``` ```text PadLeft([Name], 30) ``` ```text PadLeft([Name], 30, '<') ``` ```text PadRight([Name], 30) ``` ```text PadRight([Name], 30, '>') ``` ```text Remove([Name], 3) ``` ```text Remove([Name], 0, 3) ``` ```text Replace([Name], 'The ', '') ``` ```text Reverse([Name]) ``` ```text StartsWith([Title], 'The best') ``` ```text Substring([Description], 2, 3) ``` ```text Substring([Description], 2) ``` ```text ToStr([ID]) ``` ```text Trim([ProductName]) ``` ```text Upper([ProductName]) ``` -------------------------------- ### Comment syntax in expressions Source: https://github.com/devexpress/dotnet-eud/blob/2026.1/eud-for-devexpress-reports/reporting-for-desktop/report-designer/report-designer-for-winforms/use-expressions/expression-language.md Comments start with /* and end with */. This example shows a multi-line comment inside an expression. ```plaintext /* This is a comment within an expression. */ ``` -------------------------------- ### Build and serve documentation with docfx build Source: https://github.com/devexpress/dotnet-eud/blob/2026.1/README.md Build the documentation with DocFX and serve it locally at http://localhost:8080. Output is placed in the _site folder. ```bash docfx build D:/dotnet-eud/docfx.json --serve ``` -------------------------------- ### Criteria Constant Examples Source: https://github.com/devexpress/dotnet-eud/blob/2026.1/eud-for-bi-dashboard/dashboard-for-desktop/dashboard-designer/ui-elements/expression-editor/expression-operators-functions-and-constants.md Examples of constant syntax in criteria expressions: string constants in apostrophes, doubled apostrophes for embedded quotes, date-time constants in #, Boolean True/False, null reference ?, enumeration as integer, Guid in curly braces, and numeric with suffix (m for decimal). ```text [Country] == 'France' ``` ```text [Name] == 'O''Neil' ``` ```text [OrderDate] >= #1/1/2009# ``` ```text [InStock] == True ``` ```text [InStock] == False ``` ```text [Region] != ? ``` ```text [Status] == 1 ``` ```text [OrderID] == {513724e5-17b7-4ec6-abc4-0eae12c72c1f} ``` ```text [Price] == 25.0m ``` -------------------------------- ### Install DocFX with dotnet tool update Source: https://github.com/devexpress/dotnet-eud/blob/2026.1/README.md Install the latest DocFX as a global .NET tool. Requires .NET SDK 6.0 or higher. ```bash dotnet tool update -g docfx ``` -------------------------------- ### NewLine() function example Source: https://github.com/devexpress/dotnet-eud/blob/2026.1/eud-for-devexpress-reports/reporting-for-desktop/report-designer/report-designer-for-winforms/use-expressions/functions-in-expressions.md Returns the newline string defined for the current environment. The example concatenates a category name, a newline, and a description, showing the resulting multi-line output. ```text [CategoryName]+NewLine()+[Description] /* Result: Beverages Soft drinks, coffees, teas, beers and ales. /* ```