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 will that help you to display it on an LCD?

    In 'C', a simple assignment will do it - but, If you already have the value as a double, why can't you just display that, and insert any decimal point "manually" as required??

    Remember, the free Evaluation version doesn't do floating point...

Reply
  • How will that help you to display it on an LCD?

    In 'C', a simple assignment will do it - but, If you already have the value as a double, why can't you just display that, and insert any decimal point "manually" as required??

    Remember, the free Evaluation version doesn't do floating point...

Children
More questions in this forum