We realize that quite a few of our loyal readers the one reader who made it to this site by mistake twice may be getting freaked out by the changes we have made to the theme and banner of the blog. Well, we are here to assure you that 4GuysFromViewpoint takes the purpose of our blog very seriously. Sleep easy at night knowing you have no need to fear or worry. We, at 4GuysFromViewpoint, promise to continue to provide the same un-intense, haphazard writing and posting style that we started this blog with. We will continue to provide the sub-par, copy and paste, write something when we feel like it posts we have always not been striving to give to you on the same very inconsistent basis we have since the beginning.
We do hope you enjoy the new look and feel, but if you don’t, just let us know and we promise to not get right on changing it. Loser.
I don’t know about the rest of the world, but here at my house, we’ve been hit by wave after wave of colds. I’m not talking, slight sniffles with some light body aches, I mean delirium inducing fevers with body racking coughs and different types and consistencies of fluids running out of every orifice the body has to offer. To make that delightful image even better magnify it across a family of five. Oh yeah. It’s a pretty sight.
It’s been very draining with no apparent end in sight. Every time it seems like we’re on the mend and we can once again walkabout without having to shout “Unclean! Unclean!”, one family member or another starts back up again on a new variety of the flu that we haven’t been introduced to yet. Then they, as all proper members of society should, generously share what they now have in abundance with the rest of the family.
Currently, I feel like I’m constantly drowning with fluid in my lungs.
I’m not really sure what the purpose of sharing any of this was, but I did. You can thank me later.
So, we were sitting around in the lunchroom talking, and came up with something that we think could be a really valuable change to a key method in the .NET framework (as well as in just about every other language). The name IsNumeric is misleading, because you would expect it to return true only if the value was truly a number, but as many know this is not really the case. As such, I have created a couple of other methods that may be suitable to replace it.
Public Function MostLikelyNumeric(ByVal Expression As Object) As Boolean
Return IsNumeric(Expression)
End FunctionPublic Function PossiblyNumeric(ByVal Expression As Object) As Boolean
Return IsNumeric(Expression)
End Function
Either of those seem like they are more descriptive….
[powered by WordPress.]
20 queries. 0.154 seconds