Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

maybe

 float outputValue = (float)sumValue / (float)num_valid;

or

 float outputValue = (float)( sumValue / num_valid);