How to convert implicitly a number from decimal to binary or from decimal to octal or hexadecimal in C Sharp with visual studio
This will convert an integer into its string equivalent in the certain radix (base) but this is only for integer, when you say decimal, did you mean floating points number (real) or what? int i = 1024; // binary (base 2) Console.WriteLine(Convert.ToString(i, 2)); // octal (base 8) Console.WriteLine(Convert.ToString(i, 8)); // hexadecimal (base 16) Console.WriteLine(Convert.ToString(i, 16)); Looking forward from others ... Hth, cmiiw
Thanks my friend, i'll try it!
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
Python palindrome challenge.
I have a problem in html in the third practice in the third lesson there is a cv project how will I do they said wrap the code u