// ==========16 Convert decimal to floating point ===========
        private void button1_Click(object sender, EventArgs e)
            string hex = this.textBox1.Text.Trim();

            uint num = uint.Parse(hex,
            label3.Text = num.ToString();
            byte[] floatValues = BitConverter.GetBytes(num);

            float f = BitConverter.ToSingle(floatValues, 0);

            textBox2.Text = Convert.ToDecimal(f) + "";
        //======= Convert floating point to hexadecimal ===========
        private void button2_Click(object sender, EventArgs e)
            float f = Convert.ToSingle(textBox2.Text);
            byte[] bytes = BitConverter.GetBytes(f);// Convert floating point to byte type
            Array.Reverse(bytes);// Reverses the order of some elements in a one-dimensional array
            textBox1.Text = BitConverter.ToString(bytes).Replace("-", "");


design sketch :

©2019-2020 Toolsou All rights reserved,
c Language implementation 《 Student management system 》 No hole is the future of mobile phone ? There are still many problems to be solved Junior , A little sense , Just for mutual encouragement How to use Vue Used in Echarts Visual Library The 11th Blue Bridge Cup Java The second provincial competition B Group part Python- be based on OpenCV Contour fill for flooding algorithm hole filling 【C#】 The realization of student achievement information management system List Common interview questions in the collection and simple ideas China Mobile Science Popularization : Why do mobile networks call “ Cellular mobile network ”【Golang Basic series 10 】Go language On conditional sentences if