[#BN_bn2dec]
= BN&lowbar;bn2dec
:mrdocs:

Convert a BIGNUM to a newly allocated decimal string&period;

== Synopsis

Declared in `&lt;openssl&sol;bn&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
char*
BN&lowbar;bn2dec(xref:BIGNUM.adoc[BIGNUM] const* a);
----

== Return Value

Heap string (free with OPENSSL&lowbar;free()), or NULL on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| Value to convert&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
