* Check if value is double instead of expecting exception * Added try catch block to compensate for React51 exception on getDouble