• 0

how many milliseconds in 1 second ?


Question

13 answers to this question

Recommended Posts

  • 0

'f' when used in a style string for the Format(...) function referes to fixed numerical value, not a milli second, you want to pull that value out yourself (from the time), and calulate the milli seconds manually.

Link to comment
Share on other sites

  • 0

Take a closer look yourself. "Milli" means thousandth (with "kilo" meaning thousand). The "Thou" part is irrelevant in this case as it isn't a root element of the words in question...

Link to comment
Share on other sites

  • 0
1,000 milliseconds makes up one second.

Edit : How is VB saying it's 96?

586485101[/snapback]

1:      Enc1.Text = Format(Now, "ff")
        If Enc1.Text = 96 Then Exit Sub Else GoTo 1

The maximum value which i reached to exit sub is 96

if "ff" is not a millisecond, so what is it ?

Link to comment
Share on other sites

  • 0

http://msdn.microsoft.com/library/default....dateformats.asp

F Displays fractions of seconds. For example ff will display hundredths of seconds, whereas ffff will display ten-thousandths of seconds. You may use up to seven f symbols in your user-defined format. Use %f if this is the only character in your user-defined numeric format.

Link to comment
Share on other sites

  • 0
http://msdn.microsoft.com/library/default....dateformats.asp

F? Displays fractions of seconds. For exampleff> will display hundredths of seconds, whereas ffff will display ten-thousandths of seconds. You may use up to seven f symbols in your user-defined format. Use %f if this is the only character in your user-defined numeric format.

586485217[/snapback]

WOW, Thanks alot for this link(Y)), it really helps.

Thanks all for your help:))

Link to comment
Share on other sites

  • 0
WOW, Thanks alot for this link (Y), it really helps.

586485225[/snapback]

Yeah, crazy huh --> who would think to look in the documentation for info :rolleyes:
Link to comment
Share on other sites

  • 0
http://en.wikipedia.org/wiki/SI_prefix

Look at the table. Yes, it is 10^-3, but Milli indicates 'Thou'.

586485163[/snapback]

One thousandth of a metre. Yes, you just proved it yourself.

I take Physics and we have to deal with these conversions everyday. It defines whether you get a mark or not in any question, and every mark counts...

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.