Avoid floating point arithmetic while calculating iquiry length.
Avoid floating point arithmetic while calculating iquiry length.

Submitted by:	Iain Hibbert < plunky -at- rya-online -dot- net >
MFC after:	1 week

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase