Skip to content

Commit e77439a

Browse files
author
John Peacock
committed
flow: Merged <feature> 'RT-122858' to <develop> ('develop').
2 parents f30db0e + bac22b3 commit e77439a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ This is not a complete list of changes. See repository for full details:
88
* Silence overly compulsive GCC 7 warning
99
https://rt.cpan.org/Ticket/Display.html?id=123477
1010

11+
* Improve docs regarding trailing zeros
12+
https://rt.cpan.org/Ticket/Display.html?id=122858
13+
1114
0.9919 - 2018-04-08
1215

1316
* Core improvements to locale handling

lib/version.pod

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,9 @@ leading-v and at least 3 components.
266266

267267
=head2 numify()
268268

269-
Returns a value representing the object in a pure decimal form without
270-
trailing zeroes.
269+
Returns a value representing the object in a pure decimal.
271270

272-
version->declare('v1.2')->numify; # 1.002
271+
version->declare('v1.2')->numify; # 1.002000
273272
version->parse('1.2')->numify; # 1.200
274273

275274
=head2 stringify()
@@ -280,7 +279,7 @@ way perl would normally represent it in a string. This method is used whenever
280279
a version object is interpolated into a string.
281280

282281
version->declare('v1.2')->stringify; # v1.2
283-
version->parse('1.200')->stringify; # 1.200
282+
version->parse('1.200')->stringify; # 1.2
284283
version->parse(1.02_30)->stringify; # 1.023
285284

286285
=head1 EXPORTED FUNCTIONS

0 commit comments

Comments
 (0)