Boost logo

Boost Users :

Subject: Re: [Boost-users] [Format] Possible to format numeric values using radix?
From: Michael Powell (mwpowellhtx_at_[hidden])
Date: 2018-11-09 17:52:46


On Fri, Nov 9, 2018 at 12:49 PM Michael Powell <mwpowellhtx_at_[hidden]> wrote:
>
> Hello,
>
> For instance, given a numerical value, I'd like to specify the Radix,
> whether to format octal or hex.

Seems I just answered my own question, using format specifiers "%1$o"
and "%1$x", respectively.

> Thanks in advance!

Cheers!

> Best regards,
>
> Michael Powell


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net