[okular] [Bug 468036] Form: NaN in form total (UK IHT 411)

Albert Astals Cid bugzilla_noreply at kde.org
Sun Apr 9 10:35:15 BST 2023


https://bugs.kde.org/show_bug.cgi?id=468036

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/okular/commit/24a9d097
                   |                            |d7be00128d4d65903f5c013730b
                   |                            |e1c2c

--- Comment #5 from Albert Astals Cid <aacid at kde.org> ---
Git commit 24a9d097d7be00128d4d65903f5c013730be1c2c by Albert Astals Cid, on
behalf of Dr. David Alan Gilbert.
Committed on 09/04/2023 at 09:21.
Pushed by aacid into branch 'master'.

JS: Implement field.valueAsString

Adobe's docs say:
  For example, for a field with a value of “020”, value returns the integer 20,
   while valueAsString returns the string “020”.

Share most of the fieldGetValue code by splitting it out into a 'Core'
variant and then using it in both GetValue and GetValueAsString.

M  +16   -4    core/script/kjs_field.cpp

https://invent.kde.org/graphics/okular/commit/24a9d097d7be00128d4d65903f5c013730be1c2c

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


More information about the Okular-devel mailing list