NAME

Perl::ToPerl6::Transformer::BasicTypes::Rationals::AddTrailingZero - Add trailing zero where needed

AFFILIATION

This Transformer is part of the core Perl::ToPerl6 distribution.

DESCRIPTION

Perl6 floating-point values have the format '1.0' where a trailing digit is required:

1.0 --> 1.0
1.  --> 1.0
.1  --> .1

Transforms floating-point numbers outside of comments, heredocs, strings and POD.

CONFIGURATION

This Transformer is not configurable except for the standard options.

AUTHOR

Jeffrey Goff <drforr@pobox.com>

COPYRIGHT

Copyright (c) 2015 Jeffrey Goff

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.