$iFloat = _DataTypeConvert(12345, "int", "float")
ConsoleWrite($iFloat & @LF)
$iInt = _DataTypeConvert($iFloat, "float", "int")
ConsoleWrite($iInt & @LF)
Func _DataTypeConvert($sData, $sFromType, $sToType)
$tFromStruct = DllStructCreate($sFromType)
$tToStruct = DllStructCreate($sToType, DllStructGetPtr($tFromStruct))
DllStructSetData($tFromStruct, 1, $sData)
Return DllStructGetData($tToStruct, 1)
EndFunc