Why does .Net not have the System.Float type like System.String, System.Double etc.?
Why does .Net not have the System.Float type like System.String , System.Double etc.?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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 –
longtype)) and in .Net Framework, which should be language independent of course, as many languages can (and do) run on it.