Welcome, Guest
Username: Password: Remember me

TOPIC: [ADDED] Financial Field

Financial Field 25 Jul 2016 09:41 #14321

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
This monday, we propose you to display your DECIMAL fields as FINANCIAL

- Separate the thousands
- Pad the decimals with zeros
- Add the currency symbol

See the version :
www.j-cook.pro/index.php/docs/versions/230-2-9-3
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: MorganL

Financial Field 25 Jul 2016 19:46 #14327

  • MorganL
  • MorganL's Avatar
  • Offline
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
  • Karma: 15
Brilliant, such a small thing will make such a massive difference to a second version of a component I am doing now

There is no simple way to do 1,000,000 without masking and all kinds of other nonsense
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
The administrator has disabled public write access.

Financial Field 12 Aug 2016 17:26 #14414

  • Marvinn
  • Marvinn's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Karma: 0
How to use?
I add table data type: decimal, edit preferences, but not currencies, only Precision, scale.
The administrator has disabled public write access.

Financial Field 12 Aug 2016 17:29 #14415

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Once instancied the decimal field (as you did) and opened the properties,
tick the 'Financial' checkbox, and then in the display tab, set up the options
Coding is now a piece of cake
The administrator has disabled public write access.

Financial Field 12 Aug 2016 17:40 #14416

  • Marvinn
  • Marvinn's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Karma: 0
Hm.. Attached properties my browser
Attachments:
The administrator has disabled public write access.

Financial Field 12 Aug 2016 19:24 #14417

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Sorry, during an upgrade, I replaced by error the builder js cache file, and it retrograded in version (only the JS builder interface)

Fixed.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: Marvinn

Financial Field 12 Aug 2016 19:33 #14418

  • Marvinn
  • Marvinn's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Karma: 0
ok, thank you!
Last Edit: 12 Aug 2016 19:56 by Marvinn.
The administrator has disabled public write access.
Time to create page: 0.124 seconds

Get Started