Skip to content
Advertisement

How to convert decimal format to number format

When I convert this binary to decimal:

010000010110110001101001001000000100000101101000011011010110010101100100001000000100111101110011011011010110000101101110001000000110001001101001011100100111010001101000011001000110000101110100011001010011101000110001001011010011001100101101001100010011100100111000001101110010000001100011011011110111010101101110011101000111001001111001001110100111001101110101011001000110000101101110

using VB.Net, I get this double number: 1.00695950340148E+115.

I need to format it to be normal number like this:

10069595034014783469636931351646363690636553221072125712116008033168565762469882090200055592025448896479090348155246

How can I do that using PHP or VB.Net?

JavaScript

The output is:

Visual Basic.Net Compiler version 0.0.0.5943 (Mono 4.7 – tarball)
Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.
Assembly ‘jdoodle, Version=0.0, Culture=neutral, PublicKeyToken=null’ saved successfully to ‘/home/jdoodle.exe’. Compilation successful
Compilation took 00:00:01.1970230
Sum of x and y = 1.00695950340148E+115

Advertisement

Answer

please try with my this method, but I have not verified it whether it correct or not:

JavaScript

and when I tried to use your binary,

JavaScript

The Result is:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement