Retrieve a single Double value from the Database.

Syntax

ISDatabaseBL.GetScalarDouble(sqlQuery, decimals, returnValue, [defaultValue], [autoEscape])

Parameters

NameTypeOptionalByRefDescription
sqlQuery String The SQL Select Query.
decimals Integer The number of Decimal places to round the result to.
returnValue Double ByRef The Return Value.
defaultValue Double Optional The Default Value to return if no records were found. If omitted, a value of 0 is assumed.
autoEscape Boolean Optional Indicates whether '[' and ']' characters appearing in the sqlQuery should be replaced with the correct Escape characters for this Database Provider. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISDatabaseBL
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0