Page 1 of 1

How to conver a numeric (SOLVED)

Posted: Fri Jul 21, 2017 12:35 pm
by codeit
Hi guys i am at the stage now where i am trying to display a number format like "00:00"
with SetGadgetText(10, Str(PeekD(@time))) this just produces a single number how can i get it to show
like "00:00"

Regards
codeit :mrgreen:

Re: How to conver a numeric

Posted: Fri Jul 21, 2017 2:01 pm
by skywalk
Use StrD().

Re: How to conver a numeric

Posted: Fri Jul 21, 2017 2:42 pm
by codeit
Thank's skywalk but i had sorted it by the time i got this reply.

Code: Select all

SetGadgetText(10, FormatDate("%ii:%ss", time))