Hardwired Encoder Value Control, from incremental encoder

Need to be able to reset the encoder value. The encoder value being read from the hardwired encoder inputs is a float value. None of the script reset commands work to reset this value. Also would like to be able to set this to an integer value.