I don't see a need for this.
AI2 has Duck Typing.
If it looks like a number, AI2's math blocks will treat it like a number.