convert « decimal « C Data Type Q&A

Home
C Data Type Q&A
1.binary
2.bit
3.byte
4.char
5.character
6.decimal
7.Development
8.float
9.hex
10.integer
11.prime
12.random
13.struct
C Data Type Q&A » decimal » convert 

1. converting two keypad inputs into one decimal number    cboard.cprogramming.com

2. conversion of char to decimal    cboard.cprogramming.com

Well I suppose I could be a bit more specific :- Here goes :: I have a question for you that you might be able to answer. I have a string value amount that is read from a file as "00000300000" which actually means 3000 or the euro equivalent. It is read from the datafile like so strncpy(amount, &record[35], 11); Where ...

3. How to convert decimal number into time format    forums.devshed.com

The answer would depend entirely on what "5.61" represents. "Time" is represented in many ways; is this hours, minutes, months? Is it an absolute time, such as 0537hrs or a period such as 5 minutes 37 seconds? I guess "muslims prayer time" may clarify your requirements to some, but it probably excludes a great many people that may otherwise assist you. ...

4. Have problem converting a decimal number to octal    forums.devshed.com

Have problem converting a decimal number to octal ================================= Have problem converting a decimal number to octal the decimal number is 408. When converting from 408(decimal) to octal, the value should be 630 (octal) but instead it gives a value of 40 or 32. ================================= root:/home# ./convert_a_decimal_to_octal decimal_char = 408 decimal_number = 408 octal_number = 40 octal_number = 32 ========================= Code: ...

6. Octal to Decimal number conversion program    daniweb.com

#include int main () { int num1, base8, x, y, n, lastDigit; printf("Enter an integer in base 8: "); scanf("%d", &num1); num1 %10 =lastDigit; n = 1; x=num1 if(num1 > 10){ x/10 = x; x %10 =y; while (x != y) { x/10 = x; x %10 =y; base8 = y*8^n n = n + 1; }} sum= base8+lastDigit; printf("%d", ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.