Skip to content

Parsing Speed #2

@Isanderthul

Description

@Isanderthul

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions