- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::formfield::numeric
::xowiki::formfield::numericcreate ... \
[ -connection_locale (default "1") ] \
[ -format (default "%.2f") ] \
[ -keep_string_rep (default "0") ] \
[ -strict (default "0") ]
Defined in
Class Relations
- class: ::xotcl::Class
- superclass: ::xowiki::formfield::text
- subclass: ::xowiki::formfield::user_id
, ::xowiki::formfield::YYYY
Methods (to be applied on instances)
json_value (scripted, public)
<instance of xowiki::formfield::numeric> json_value value
Export a normalized numeric value, or preserve a nonempty string when keep_string_rep is enabled. Empty values are exported as null.
- Parameters:
- value (required)
- Stored numeric field value.
- Returns:
- Two-element ns_json type/payload pair.
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)