fixed sVal compile error by initializing as 0.0