I'm trying to convert a `string` to `double`. The incoming string is always going to be a whole number...no decimals. So, for example "90".

```
double percentToCheck = Convert.ToDouble(String.Format("{0:0.00}", SomeEntity.KeyIDs.SomePercentTrigger));

```

`SomePercentTrigger` is the % that I will be converting.

I get a "string is not in the correct format" error so how should I format this string? I've got to format it because if I don't I get the same error with just this during the conversion:

```
double percentToCheck = Convert.ToDouble(SomeEntity.KeyIDs.SomePercentTrigger);

```

UPDATED:

`SomePercentTrigger` is simply a `string` such as "80"..it'll always be a whole number too.