casting - How do I convert Int/Decimal to float in C#? -


How does one convert a float from C to a C or Decimal?

I use a float to control a third party, but I do not use them in my code, and I'm not sure how it will end with a float.

you can do only one artist

  int val1 = 1 ; Flat val 2 = (Float) well 1;  

or

  decimal value 3 = 3; Flat val 4 = (float) val3;  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -