Added getter for value

So you don't have to convert the string returned from __toString to a number