Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 2021 17:13:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259078] [NEW PORT] textproc/p5-Number-Format-Metric: Format number with metric prefix  ...missing depend for some use of p5-Data-Unixish
Message-ID:  <bug-259078-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259078

            Bug ID: 259078
           Summary: [NEW PORT] textproc/p5-Number-Format-Metric: Format
                    number with metric prefix  ...missing depend for some
                    use of p5-Data-Unixish
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: vvelox@vvelox.net

Created attachment 228596
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D228596&action=
=3Dedit
git diff

Recently noticed this is a messing depend for devel/p5-Data-Unixish.


Format number with metric prefix.

format_metric(14     , {base=3D>10});               # =3D> "14"
format_metric(12000  , {base=3D> 2, precision=3D>1}); # =3D> "11.7K"
format_metric(12000  , {base=3D>10, precision=3D>1}); # =3D> "11.7Ki"
format_metric(-0.0017, {base=3D>10});               # =3D> "1.7m"

WWW: https://metacpan.org/dist/Number-Format-Metric

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259078-7788>