\geek

0
2017.04.05Not the Answer I Was Looking For

Sent this e-mail to support this morning. Thought I'd share with my nerdlicious friends:

"I do appreciate the nod to Douglas Adams in the default assignment of Number types to a value of 42.

Fortunately, explicitly setting such a variable to zero before using it will prevent your calculations from including the Answer to the Ultimate Question of Life, the Universe, and Everything.

I found this when writing a workflow that involved time duration calculations (summing the durations of calendar events).

Upon storing the sum in a variable, I found the value was being converted to a Number (as seconds) in the variable, plus a special surprise: every calculation I was making was somehow getting an extra 42 seconds tacked onto it.

The calculations were corrected once I explicitly assigned a value of 0 to the variable at the top of the workflow.

I’m hoping you might consider adjusting the app to correct for this. After all, 7.5 million years is a long gestation period for a bug."




You may:
  • view all of the content in this category
  • Search for specific content