strfmon(3): Fix # explanation

There's only one value that specifies the number of digits after the
decimal point (oh, sorry, the "radix character") the other specifies the
number before...

While here, add a little more info on the effects of using the #n value.

Obtained from:	d1dd1a0864
Reviewed by:	kib
PR:	267282
Github PR:	#619
MFC after:	1 week
This commit is contained in:
Jose Luis Duran 2022-10-13 13:11:31 -03:00 committed by Konstantin Belousov
parent 0efec50e9e
commit 7cfd67ce96

View File

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd June 25, 2012
.Dd October 26, 2022
.Dt STRFMON 3
.Os
.Sh NAME
@ -98,7 +98,13 @@ By default, there is no minimum width.
A
.Sq Cm #
sign followed by a decimal number specifying the maximum
expected number of digits after the radix character.
expected number of digits before the radix character.
When this option is used, values that do not exceed the
specified number of digits are formatted so they will be
correctly aligned with other values printed using the same
format.
This includes always leaving space for a possible sign
indicator, even if none is needed for a particular value.
.It
A
.Sq Cm \&.