|
speedf = (float)Convert.ToDouble(String.Format("{0}.{1}", Convert.ToInt32(strSp.Substring(0, 3)), Convert.ToInt32(strSp.Substring(3, strSp.Length - 3)))); |
If I parse the input string 25250701B407F1086528404276002901210729082907DD800807005000EA000A53A8838153A8673C53A84F8E2107290829085B800807005000EA000A53A8838153A8673C53A8287E2107290829095B800807005000EA000A53A8838153A8673C53A8287E2107290829105B800807005000005042CAC31AC04A5E5442000000A82107290829115B800807005000EA000A53A8838153A8673C53A8287E2107290829125C800807005000EA000A53A8838153A8673C53A8287E2107290829135C800807005000EA000A53A8838153A8673C53A8287E2107290829145B800807005000EA000A53A8838153A8673C53A8287E2107290829155C800807005000005042CAC31AC04A5E5442000000A82107290829165C800807005000005042CAC31AC04A5E5442000000A82107290829175B800807005000005042CAC31AC04A5E5442000000A82107290829185A800807005000005042CAC31AC04A5E5442000000A82107290829195A800807005000005042CAC31AC04A5E5442000000A821072908292059800807005000005042CAC31AC04A5E5442000000A82107290829215A800807005000005042CAC31AC04A5E5442000000A8
the speed is 0x53A8
which is parsed on the website https://www.topflytech.com/Decoder.html as 5.3
Please explain
TOPFLYtechCodec/C#/TopflytechCodec/TopflytechCodec/PersonalAssetMsgDecoder.cs
Line 247 in b322f14
If I parse the input string
25250701B407F1086528404276002901210729082907DD800807005000EA000A53A8838153A8673C53A84F8E2107290829085B800807005000EA000A53A8838153A8673C53A8287E2107290829095B800807005000EA000A53A8838153A8673C53A8287E2107290829105B800807005000005042CAC31AC04A5E5442000000A82107290829115B800807005000EA000A53A8838153A8673C53A8287E2107290829125C800807005000EA000A53A8838153A8673C53A8287E2107290829135C800807005000EA000A53A8838153A8673C53A8287E2107290829145B800807005000EA000A53A8838153A8673C53A8287E2107290829155C800807005000005042CAC31AC04A5E5442000000A82107290829165C800807005000005042CAC31AC04A5E5442000000A82107290829175B800807005000005042CAC31AC04A5E5442000000A82107290829185A800807005000005042CAC31AC04A5E5442000000A82107290829195A800807005000005042CAC31AC04A5E5442000000A821072908292059800807005000005042CAC31AC04A5E5442000000A82107290829215A800807005000005042CAC31AC04A5E5442000000A8the speed is
0x53A8which is parsed on the website https://www.topflytech.com/Decoder.html as 5.3
Please explain