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 -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -