MILLISEC_PER_SEC is never needed
-
You only typed five 3s. Methinks you are missing some 3s! :-D
Get me coffee and no one gets hurt!
Hence the elipsis - I can't put a dot over a three reliably (there's no HTML overstrike-and-superscript tag that I know of)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
-
Hence the elipsis - I can't put a dot over a three reliably (there's no HTML overstrike-and-superscript tag that I know of)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
-
That's what I would think, as the SI-system is fairly logical. Then you meet someone from the UK and they tell you there's x feet in an inch. It's also a nice shortcut, to change the display from msec to sec, just by setting this constant to "0" instead of "1000" :p
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
Eddy Vluggen wrote:
It's also a nice shortcut, to change the display from msec to sec, just by setting this constant to "0" instead of "1000" :p
Depending on the usage you might then get a "Division by zero" exception / fatal error popup window instead.
-
Damn. I was hoping you knew of one! ;)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
-
Damn. I was hoping you knew of one! ;)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
-
Personally I prefer cubits
cheers Chris Maunder
Is that cubits / Pirate-Ninja? Did you know there is a unit called the sheppey - about 7⁄8 of a mile (1.4 km), defined as the closest distance at which sheep remain picturesque?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
-
Is that cubits / Pirate-Ninja? Did you know there is a unit called the sheppey - about 7⁄8 of a mile (1.4 km), defined as the closest distance at which sheep remain picturesque?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
Must...refrain...from...New Zealand...joke....
cheers Chris Maunder
-
Chris Maunder wrote:
MILLISEC_PER_SEC
American or UK Seconds?
Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
Daylight Saving seconds.
cheers Chris Maunder
-
I put it to you that a variable, constant or define named "MILLISEC_PER_SEC" is never, ever, ever needed.
cheers Chris Maunder
Check again - in France it may have an alternative value.* *After all, they don't have a word for 'seventy', 'eighty', or 'ninety'
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
Come to think of it, are there any milliseconds in a Leap Second?
It depends if you measure them or not.
cheers Chris Maunder
-
I put it to you that a variable, constant or define named "MILLISEC_PER_SEC" is never, ever, ever needed.
cheers Chris Maunder
Or, perhaps it's needed to differentiate in regions where they use an Imperial Second instead of a regular one.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
Check again - in France it may have an alternative value.* *After all, they don't have a word for 'seventy', 'eighty', or 'ninety'
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
C'mon - quatre vingt dix rolls off the tongue! (and it's the reason I can only count to 69 in French when I'm drunk. The maths gets too hard)
cheers Chris Maunder
-
C'mon - quatre vingt dix rolls off the tongue! (and it's the reason I can only count to 69 in French when I'm drunk. The maths gets too hard)
cheers Chris Maunder
Chris Maunder wrote:
rolls off the tongue!
(why did you go there?) It brought to mind french cuisine, crawling off one's tongue (leaving a slime trail). I hadn't expected this type of treatment from you!
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
Hence the elipsis - I can't put a dot over a three reliably (there's no HTML overstrike-and-superscript tag that I know of)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
\_\_
0.0833
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
Well, obviously; they're measured in barleycorns[^]. Everybody knows that! :laugh:
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
\_\_
0.0833
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
Or the simpler option: 0.0833 (Assuming the hamsters don't eat the style.)
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
I put it to you that a variable, constant or define named "MILLISEC_PER_SEC" is never, ever, ever needed.
cheers Chris Maunder
protects against people who see "Milli-" and think "1,000,000"
-
Or the simpler option: 0.0833 (Assuming the hamsters don't eat the style.)
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Yeah,
overline
works too."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
It depends if you measure them or not.
cheers Chris Maunder
I can't be bothered with such fiddling small change.
-
Must...refrain...from...New Zealand...joke....
cheers Chris Maunder
Oh please !!! DO IT!
I'd rather be phishing!