numericControlsTable

fun ReportBuilder.numericControlsTable(controls: List<ControlData>, caption: String? = "Numeric Controls", includeComment: Boolean = true)(source)

Appends a table of numeric controls from controls.

Columns: Key | Type | Value | Lower Bound | Upper Bound | Comment (Comment column omitted when includeComment is false).

Bound values of ±∞ are rendered as "−∞" / "+∞" rather than the raw Infinity strings that appear when no explicit bounds were declared on a @KSLControl annotation. Finite values are formatted to 4 decimal places.

If controls is empty a short paragraph noting the absence is emitted instead of an empty table.

Parameters

controls

list of ControlData DTOs to tabulate

caption

optional table caption; defaults to "Numeric Controls"

includeComment

false omits the Comment column