Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - M-Business Anywhere Programming » UltraLite for M-Business Anywhere API Reference » PreparedStatement class

 setDoubleParameter method Next Page

setFloatParameter method


Sets the value for the specified SQLType.REAL parameter.

Syntax

setFloatParameter( UInt16 parameterID, Float value )

Parameters
Example

The following statement sets a floating-point value for the first parameter:

stmt.setFloatParameter( 1,
    (2 - Math.pow(2,-23)) * Math.pow(2,127)
);