wrong wafom value is caused by limitation of double.