If a subroutine in someone else's module uses it, or if they use int(), would convert it to an integer and force all math with it from then on to yield an integer result?
No, to either or both.
However, unless you do division (or subtract a fractional value) results will be integers. But you probably realise that.
Unless the variable in question is being tied some how, this sounds more likely to be a problem with how you are displaying the value rather than a scalar magically becoming strictly integer.
In reply to Re^3: All Calculations Done with One Variable Give Integer Answers
by BrowserUk
in thread All Calculations Done with One Variable Give Integer Answers
by HalNineThousand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |