VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Convert any real number from base 10 to base 2, i.e. (decimal with decimal point to its binary equi

sherif rofael  (15 Submissions)   Math/Dates   VB 6.0   Unknown Difficulty   Tue 23rd July 2002   Mon 8th February 2021

Convert any real number from base 10 to base 2, i.e. (decimal with decimal point to its binary equivalent) for ex: 152.75------>10011000.11

API Declarations


' http://sherif1.netfirms.com/vbcode/binary.zip
' how to use:
' download the whole project from the link above or:
' use the functions in the code (dec , bin , u)
' **function "u" calculates the numbers of bits the binary # will be.
' **function "bin" converts the integer part of the # to its binary
' equivalent.
' **function "dec" converts the fraction part of the decimal #
' to its binary equivalent.

' by : sherif rofael.
' mailto : [email protected]
' website:
' http://sherif1.netfirms.com
' http://vbsherif.members.easyspace.com (to download the programs)

Rate Convert any real number from base 10 to base 2, i.e. (decimal with decimal point to its binary equi (2(2 Vote))
Convert any real number from base 10 to base 2, i.e. (decimal with decimal point to its binary equi.bas

Convert any real number from base 10 to base 2, i.e. (decimal with decimal point to its binary equi Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters