workaround to avoid NaN values, but code is still suspect (and deprecated).  Fixes #7424 !strict
workaround to avoid NaN values, but code is still suspect (and deprecated).  Fixes #7424 !strict

git-svn-id: 674a2d6b1e32e53f607eb824547723f32280967e@14892 560b804f-0ae3-0310-86f3-f6aa0a117693

redaktor/deliteful