hi!
How to get session object so that it can be used as Double.

Add a Double object as attribute and when you get it, cast it to Double. Look at the java API for the class: java.lang.Double. It's a class like any other. Don't let its name confuse you. It's a class with methods and attributes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.