Click here to Skip to main content
14,689,511 members
Home » Discussions » JavaScript
   

JavaScript

 
GeneralRe: Javascript function error. Pin
Richard MacCutchan10-Jun-20 0:36
mveRichard MacCutchan10-Jun-20 0:36 
GeneralRe: Javascript function error. Pin
and180y10-Jun-20 1:21
Memberand180y10-Jun-20 1:21 
GeneralRe: Javascript function error. Pin
Estys10-Jun-20 1:31
MemberEstys10-Jun-20 1:31 
GeneralRe: Javascript function error. Pin
and180y10-Jun-20 1:59
Memberand180y10-Jun-20 1:59 
GeneralRe: Javascript function error. Pin
Richard MacCutchan10-Jun-20 1:37
mveRichard MacCutchan10-Jun-20 1:37 
GeneralRe: Javascript function error. Pin
and180y10-Jun-20 1:58
Memberand180y10-Jun-20 1:58 
GeneralRe: Javascript function error. Pin
Richard MacCutchan10-Jun-20 2:18
mveRichard MacCutchan10-Jun-20 2:18 
AnswerRe: Javascript function error. Pin
Richard Deeming10-Jun-20 0:13
mveRichard Deeming10-Jun-20 0:13 
NB: If your users are entering hours and minutes, your calculation is going to be wrong.

For example, 09:45 to 10:15 should be 0.5 hours, but "10.15" - "09.45" will return 0.7000000000000011.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Javascript function error. Pin
and180y10-Jun-20 0:25
Memberand180y10-Jun-20 0:25 
GeneralRe: Javascript function error. Pin
Richard Deeming10-Jun-20 2:26
mveRichard Deeming10-Jun-20 2:26 
GeneralRe: Javascript function error. Pin
and180y10-Jun-20 2:55
Memberand180y10-Jun-20 2:55 
GeneralRe: Javascript function error. Pin
and180y11-Jun-20 0:06
Memberand180y11-Jun-20 0:06 
GeneralRe: Javascript function error. Pin
Richard Deeming11-Jun-20 0:30
mveRichard Deeming11-Jun-20 0:30 
GeneralRe: Javascript function error. Pin
and180y11-Jun-20 0:45
Memberand180y11-Jun-20 0:45 
JokeRe: Javascript function error. Pin
DerekT-P11-Jun-20 3:26
professionalDerekT-P11-Jun-20 3:26 
AnswerRe: Javascript function error. Pin
jkirkerx12-Jun-20 8:57
professionaljkirkerx12-Jun-20 8:57 
GeneralRe: Javascript function error. Pin
and180y12-Jun-20 9:33
Memberand180y12-Jun-20 9:33 
GeneralRe: Javascript function error. Pin
jkirkerx12-Jun-20 9:47
professionaljkirkerx12-Jun-20 9:47 
GeneralRe: Javascript function error. Pin
and180y12-Jun-20 11:48
Memberand180y12-Jun-20 11:48 
GeneralRe: Javascript function error. Pin
jkirkerx12-Jun-20 12:11
professionaljkirkerx12-Jun-20 12:11 
GeneralRe: Javascript function error. Pin
jkirkerx12-Jun-20 11:17
professionaljkirkerx12-Jun-20 11:17 
GeneralRe: Javascript function error. Pin
and180y13-Jun-20 6:57
Memberand180y13-Jun-20 6:57 
GeneralRe: Javascript function error. Pin
Richard MacCutchan13-Jun-20 7:31
mveRichard MacCutchan13-Jun-20 7:31 
GeneralRe: Javascript function error. Pin
and180y13-Jun-20 12:48
Memberand180y13-Jun-20 12:48 
GeneralRe: Javascript function error. Pin
jkirkerx13-Jun-20 8:36
professionaljkirkerx13-Jun-20 8:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.