>that will accept any numeric variable.
Not BYVAL it wont... the number of bytes on the stack is different. However, the PB compiler will do a silent conversion if called with a different datatype parameter so it will "work."
For functions requiring an integer parameter (eg "isPrime") conversion to EXT is not a problem, but for a 'general purpose' function accepting floats you might be introducing rounding errors.
I use CUR a lot because there are no rounding issues, at least in the number range in which I work, which is integer or maybe two decimal quantities and price/extension in dollars.
Not BYVAL it wont... the number of bytes on the stack is different. However, the PB compiler will do a silent conversion if called with a different datatype parameter so it will "work."
For functions requiring an integer parameter (eg "isPrime") conversion to EXT is not a problem, but for a 'general purpose' function accepting floats you might be introducing rounding errors.
I use CUR a lot because there are no rounding issues, at least in the number range in which I work, which is integer or maybe two decimal quantities and price/extension in dollars.
Comment