Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.10 seconds.

  1. Re: how to do dynamic casting for all datatypes

    Actually, this is far more complex than I assumed because you cannot do arithmetic on a Number object...
    Hmm... There is certainly a messy way of doing this, but I do not know if there is a generic...
  2. Re: how to do dynamic casting for all datatypes

    Continuing on Norm's suggestion and going along with your current question, consider restricting your generic arguments to numeric values only (if that is what you want).

    For example (stealing...
Results 1 to 2 of 2