HTML::...::Float(3pm)
π NAME π
okay so bestie, welcome to HTML::...::Float(3pm) β a page from the User Contributed Perl Documentation, and it's literally here to validate a float value β¨
π¦ VERSION π¦
This page is riding with version 0.40068 π
πΈ DESCRIPTION πΈ
So here's the vibe: this accepts a positive or negative float/integer. Negative numbers may be prefixed with a dash. By default, a max of eight digits including 2 precision are accepted. The default decimal symbol is ','. The widget type is 'text'. No cap, that's the whole energy π
The example is giving exactly this:
# For example 1234,12 has size of 6 and precision of 2
# and separator symbol of ','
has_field 'test_result' => (
type => 'Float',
size => 8, # Total size of number including decimal part.
precision => 2, # Size of the part after decimal symbol.
decimal_symbol => '.', # Decimal symbol accepted in web page form
decimal_symbol_for_db => '.', # For inflation. Decimal symbol accepted in DB, which automatically converted to.
range_start => 0,
range_end => 100
);
π messages π
float_neededfloat_sizefloat_precision
π AUTHOR π
FormHandler Contributors - see HTML::FormHandler π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2017 by Gerda Shank.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay π
okay bestie, that's the whole page π
β it's perl v5.34.0, dated 2022-03-25, and the manual is HTML::...::Float(3pm). periodt π«Ά
π¦ where this page comes from
- debian bookworm: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms