Added asFloat asInteger and _innerValue methods

>And.. another point, I don't remember how PHP strings work, but we should ensure that if someone modifies the string outside the object, the inner string isn't modified (so, we must ensure we return a copy, not a reference to the inner object, because that's "dangerous").

Don't worry about that. The value return is just a copy of the value not a reference.