[[ Bug 13740 ]] numToByte should return a DataRef
Merge pull request #1314 from runrevali/bugfix-13740

[[ Bug 13740 ]] numToByte should return a DataRef