How convert double type to float?

The time transmitted from ALLSTAR DATA SOURCE is doubletype,and wanted to display time to LCD,so I want to convert double type to float ,and want to uS.How can i do that?
Thanks a lot!

Parents
  • "How can i do that?"

    Can you provide a link to a document that describes the data output from this device, or provide a better description of it yourself?

    What exactly do you mean when you say 'double' - a 64 bit IEEE binary floating point value, an ASCII representation of a floating point value, or what?

Reply
  • "How can i do that?"

    Can you provide a link to a document that describes the data output from this device, or provide a better description of it yourself?

    What exactly do you mean when you say 'double' - a 64 bit IEEE binary floating point value, an ASCII representation of a floating point value, or what?

Children
More questions in this forum