Adam Burda wrote:I want to take a double like 0.01 and then times it by 2 for each output.
Just to add to the other good advice,
you should be careful with this sort of thing when using
double.
For specifically multiplying by 2, you're probably OK; but you may run into difficulties with other multipliers.
The reason is that 0.01 does NOT equal 0.01 - at least, not
exactly.
For more information, I suggest you read
this or
this. The first is "the Bible", but the second is probably a bit easier to understand.
Winston