decimal to binary

John Colvin john.loughran.colvin at gmail.com
Mon Jun 10 03:47:45 PDT 2013


On Monday, 10 June 2013 at 09:46:42 UTC, snow wrote:
> Hello,
> I searched a lot in the docs and search, but couldn't find 
> anything so far. Is there a funtion, which converts my decimal 
> number into a binary?

I presume your decimal is in a string?

use

std.conv.parse

or

std.conv.to


More information about the Digitalmars-d-learn mailing list