求助: vb 数据转成 float 方法
各位老师好:在VB中,从数据文里显示4个字节为:00,00,96,44。DEC显示是:1,150,681,088。请问在VB中,怎样才能显示出float模式的:1200。谢谢
如图:
Option Explicit Private Type makelong l As Long End Type Private Type makesingle f As Single End Type Private Sub Form_Load() Dim tl As makelong Dim tf As makesingle tl.l = &H44960000 LSet tf = tl Debug.Print tf.f End SubLSet 这个也可以。