i want to add the value in map to a float value what should i do?s

You'll have to clarify a bit more what you mean by "value in map"?

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.