String to Double conversation fails on Simulator

Hi All,

Recently I've decided to start learning the application development for Garmin watches. I run the code below on Simulator.

During development I found that my application throws exception on following operation:

var str = "+059.56000";
System.println(str.toDouble());

Exception is like below:

Error: Symbol Not Found Error
Details: Could not find symbol 'toDouble'

Conversation to Float works but it adds 0.00001 to the original number. So I got the result 59.56001.

However the conversation to Double works well on my device Quatix 5