Title pretty much sums it up. I'd bet that over half the usage of this method in the wild involves someone casting an int to a decimal or double in order to use it, so why isn't there just an overload that takes an int as the argument?
Asked
Active
Viewed 869 times
0
-
Or `IConvertible` would be event better – Magnus Jan 10 '12 at 16:11
-
@CloseVoter I'm pretty sure there's an actual reason its set up this way and this won't degenerate into subjective debate. – heisenberg Jan 10 '12 at 16:14
1 Answers
3
Because it's directly related to the STR function found here:
http://msdn.microsoft.com/en-us/library/ms189527.aspx
and that function only takes a float, hence the parameters you're seeing.

Joseph
- 25,330
- 8
- 76
- 125