G
Guest
Just made a startling discovery - C# interprets 4/3 as 1 and 2/3 as 0 etc.
C# needs explicit statement of numerator and denominator as float/double
etc. e.g. 4d/3d or 4.0/3.0 to be interpreted correctly
This seems really archaic...surely i'm doing it wrong and there's something
i'm missing!?
C# needs explicit statement of numerator and denominator as float/double
etc. e.g. 4d/3d or 4.0/3.0 to be interpreted correctly
This seems really archaic...surely i'm doing it wrong and there's something
i'm missing!?