BBjspHashMap::getFloat (Deprecated)

The BBJSP system is deprecated. For new development, use BBxServlet.

Description

In BBj 16.0 and higher, this method will return a Float value derived from the stored value in this BBjspHashMap.

If the object in the BBjspHashMap is not a Float then the object will be coerced into a Float if possible.

Syntax

Return Value

Method

Float

getFloat(string key)

Parameters

Variable

Description

key

The name of the Float object to return.

Return Value

Returns the Float object.

Remarks

None.

Example

declare BBjspHashMap map!

map! = BBjAPI().makeBBJSP().makeBBjspHashMap()

map!.setFloat("F",12.34)

print map!.getFloat("F")

print map!

See Also

BBjspHashMap

BBjspHashMap::setFloat()