Double.Parse issue in R3?

I’m trying this bit of code in iOS 64-bit debugger with R3:

Dim sVersion As Text = “1.0.16”
dim dTest as double = double.parse(sVersion)

and dTest comes back as 1. Can someone confirm. If so, R3 is really screwed.

FromText also fails. ARGH!!!

[quote=363158:@Bob Keeney]I’m trying this bit of code in iOS 64-bit debugger with R3:

Dim sVersion As Text = “1.0.16”
dim dTest as double = double.parse(sVersion)

and dTest comes back as 1. Can someone confirm. If so, R3 is really screwed.[/quote]

since the number is “1.0” double should be 1 (it will ignore the .16 since that cant be part of a valid double)

just try with “1.2.16” and see what you get

What is the result you expect?

Edit: Norman replied before I finished my test

Yeah. Nothing to see here, just Bob having a meltdown for no reason. :slight_smile: