result2=1.28;我想把这个浮点型的变量变成16进制的数,请问该用哪个语句?其实就是watch window那个窗口,我想让它输出十进制的或者十六进制的数,随便输出,请问该添加什么语句呢?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
result2=1.28;我想把这个浮点型的变量变成16进制的数,请问该用哪个语句?其实就是watch window那个窗口,我想让它输出十进制的或者十六进制的数,随便输出,请问该添加什么语句呢?
意思就是用16进制数表示这个浮点数。我想直接用16进制数形式,用这个16进制形式的数干别的事。但是这个数是浮点数,我不能直接用。通过什么方式能转换实现呢?
意思就是用16进制数表示这个浮点数。我想直接用16进制数形式,用这个16进制形式的数干别的事。但是这个数是浮点数,我不能直接用。通过什么方式能转换实现呢?