Base 10/Base 2 or Base 2/Base 10 conversion 
Author Message
 Base 10/Base 2 or Base 2/Base 10 conversion



Quote:
>Hi !

>Is there any one know how to write Pascal code to convert :

>1. base 10 to base 2 number (e.g. 5 (base 10) = 101 (base 2)
>2. base 2   to base 10           (e.g. 101 (base 2) = 5 (base 10))
>3. real number (base 10) to real number (base 2) (e.g. 2.50 (base 10)
>= ????? (base 2))
>4. real number (base 2) to real number (base 10)

>base on input criteria:

>1 = 8 bit
>2 = 16 bit

The question is, do you know the mathematical procedure for
accomplishing the above?  You wouldn't be looking for someone to do
your homework, would you?  
Dennis D. Powers
PC/POLL SYSTEMS

Support the anti-Spam amendment
Join at http://www.*-*-*.com/



Wed, 18 Jun 1902 08:00:00 GMT  
 Base 10/Base 2 or Base 2/Base 10 conversion

Hi !

Is there any one know how to write pascal code to convert :

1. base 10 to base 2 number (e.g. 5 (base 10) = 101 (base 2)
2. base 2   to base 10           (e.g. 101 (base 2) = 5 (base 10))
3. real number (base 10) to real number (base 2) (e.g. 2.50 (base 10)
= ????? (base 2))
4. real number (base 2) to real number (base 10)

base on input criteria:

1 = 8 bit
2 = 16 bit



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. base 10 to base 2

2. base changer 2 to 10

3. base 10 to 2

4. : tsbase13.zip Programmer's tools base: base, basecalc, scancode

5. tsbase13.zip Programmer's tools base: base, basecalc, scancode

6. base conversion

7. base conversion of large numbers

8. base conversion of large numbers

9. Tutorial on number conversion, any base

10. Program for number conversion, bases 2..72

11. Tutorial on number conversion, any base

12. Program for number conversion, bases 2..72

 

 
Powered by phpBB® Forum Software