Fix converting of 'mean' value depending on value type
Merge pull request #33 from ates/at-snmp-hist

Fix converting of 'mean' value depending on value type