Why does .Net not have the System.Float
type like System.String
, System.Double
etc.?
It has type System.Single
, which is what you are looking for.
See table for built-in value types in C# at MSDN.
There is a slight discrepancy between how types are called in C# (where name-type are similar to C-languages, but not the same (for example - long
type)) and in .Net Framework, which should be language independent of course, as many languages can (and do) run on it.
Because it is an alias of System.Single
Have a look at http://msdn.microsoft.com/en-us/library/b1e65aza.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With