CF_TEXT is a standard gateway between every windows desktop apps to copy paste strings. Putting binary data as CF_TEXT to the clipboard is nonsense. Anyway, the clipboard handles this type specially so its a luck that you havent crashed. If you put some data to the clipboard that isn't standard and is recognized only by your program or a set of your programs then you should register a new clipboard format and copy/paste your data with that format: Here is an article how to do that in C#:
Saving and obtaining custom objects to/from Windows Clipboard[
^]
Another solution to your problem can be converting your binary value to the string representation of the number like "365" and storing that as CF_TEXT on the clipboard, then you have to convert it back when you paste it in your program. This way you can copy paste a number to your program even from a text file with notepad.