Skip to content

Latest commit

 

History

History
35 lines (15 loc) · 615 Bytes

jsdoc.custom.rst

File metadata and controls

35 lines (15 loc) · 615 Bytes

jsdoc.custom

File: biweeklybudget/flaskapp/static/js/custom.js

.. js:function:: fmt_currency(value)

   Format a float as currency

   :param number value: the number to format
   :returns: **string** -- The number formatted as currency




.. js:function:: fmt_null(o)

   Format a null object as " "

   :param Object|null o: input value
   :returns: **Object|string** -- o if not null, `` `` if null




.. js:function:: isoformat(d)

   Format a javascript Date as ISO8601 YYYY-MM-DD

   :param Date d: the date to format
   :returns: **string** -- YYYY-MM-DD